// Lean compiler output
// Module: Lake.DSL.DeclUtil
// Imports: public import Lake.Util.Binder public import Lake.Config.MetaClasses public import Lean.Elab.Command
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__14;
static lean_object* l_Lake_DSL_declField___closed__8;
lean_object* l_ReaderT_instFunctorOfMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1;
static lean_object* l_Lake_DSL_optConfig___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_simpleDeclSig;
static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__13;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lake_DSL_elabConfig___closed__12;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5;
static lean_object* l_Lake_DSL_elabConfig___closed__11;
static lean_object* l_Lake_DSL_simpleBinder___closed__1;
static lean_object* l_Lake_DSL_simpleDeclSig___closed__0;
LEAN_EXPORT lean_object* l_Lake_DSL_declValStruct;
lean_object* l_Lean_TSyntax_getId(lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__20;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__8;
static lean_object* l_Lake_DSL_declValDo___closed__8;
lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_getScope___redArg(lean_object*);
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_identOrStr___closed__9;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11;
lean_object* l_Lean_Environment_header(lean_object*);
lean_object* l_Lean_Syntax_getHeadInfo(lean_object*);
lean_object* l_Lean_indentD(lean_object*);
static lean_object* l_Lake_DSL_elabConfig___closed__2;
static lean_object* l_Lake_DSL_identOrStr___closed__1;
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0(uint8_t, uint8_t, lean_object*);
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
lean_object* l_Lean_TSyntax_getString(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__12;
static lean_object* l_Lake_DSL_identOrStr___closed__3;
static lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
static lean_object* l_Lake_DSL_elabConfig___closed__15;
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__1;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3;
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValStruct___closed__2;
LEAN_EXPORT lean_object* l_Lake_DSL_simpleBinder;
lean_object* l_Lean_KVMap_find(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___closed__9;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*);
static lean_object* l_Lake_DSL_packageDeclName___closed__0;
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_optConfig;
static lean_object* l_Lake_DSL_optConfig___closed__1;
lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t);
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
static lean_object* l_Lake_DSL_declValDo___closed__3;
static lean_object* l_Lake_DSL_identOrStr___closed__5;
uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t);
static lean_object* l_Lake_DSL_expandAttrs___closed__3;
static lean_object* l_Lake_DSL_structVal___closed__4;
LEAN_EXPORT lean_object* l_Lake_DSL_identOrStr;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__9;
uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*);
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__24;
static lean_object* l_Lake_DSL_structVal___closed__2;
static lean_object* l_Lake_DSL_expandAttrs___closed__5;
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__11;
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValStruct___closed__0;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16;
static lean_object* l_Lake_DSL_declValDo___closed__12;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3;
static lean_object* l_Lake_DSL_expandAttrs___closed__1;
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__0;
static lean_object* l_Lake_DSL_structVal___closed__7;
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12;
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0;
static lean_object* l_Lake_DSL_declValWhere___closed__0;
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mkArray0(lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__22;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__6;
lean_object* l_ReaderT_instMonad___redArg(lean_object*);
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__9;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__27;
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1;
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0;
static lean_object* l_Lake_DSL_structVal___closed__11;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__4;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandAttrs___closed__2;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__21;
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__4;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_bracketedSimpleBinder;
static lean_object* l_Lake_DSL_elabConfig___closed__0;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__28;
static lean_object* l_Lake_DSL_elabConfig___closed__8;
LEAN_EXPORT lean_object* l_Lake_DSL_declValWhere;
extern lean_object* l_Lean_Elab_Command_instInhabitedScope_default;
extern lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM;
static lean_object* l_Lake_DSL_identOrStr___closed__8;
static lean_object* l_Lake_DSL_declValStruct___closed__1;
static lean_object* l_Lake_DSL_declValDo___closed__2;
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__10;
lean_object* lean_st_ref_take(lean_object*);
static lean_object* l_Lake_DSL_structVal___closed__6;
static lean_object* l_Lake_DSL_structVal___closed__13;
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValWhere___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
lean_object* l_ReaderT_instApplicativeOfMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5;
lean_object* l_instMonadEST(lean_object*, lean_object*);
lean_object* l_Array_empty(lean_object*);
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__25;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__12;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2;
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6;
static lean_object* l_Lake_DSL_elabConfig___closed__6;
static lean_object* l_Lake_DSL_structVal___closed__0;
static lean_object* l_Lake_DSL_identOrStr___closed__13;
static lean_object* l_Lake_DSL_identOrStr___closed__12;
static lean_object* l_Lake_DSL_identOrStr___closed__6;
lean_object* l_Lean_Syntax_TSepArray_getElems___redArg(lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_optConfig___closed__0;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__0;
static lean_object* l_Lake_DSL_simpleBinder___closed__2;
lean_object* l_Lean_Elab_Command_withFreshMacroScope___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__5;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2;
lean_object* lean_st_ref_get(lean_object*);
lean_object* l_Lean_getMainModule___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___closed__16;
static lean_object* l_Lake_DSL_declField___closed__7;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4;
static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17;
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValWhere___closed__6;
static lean_object* l_Lake_DSL_simpleBinder___closed__3;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6;
lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__8;
static lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3;
static lean_object* l_Lake_DSL_simpleDeclSig___closed__3;
lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__14;
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__3;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__11;
static lean_object* l_Lake_DSL_elabConfig___closed__4;
extern lean_object* l_Lean_warningAsError;
extern lean_object* l_Lean_Elab_pp_macroStack;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM;
lean_object* l_Lean_mkOptionalNode(lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__1;
static lean_object* l_Lake_DSL_elabConfig___closed__5;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_packageDeclName;
static lean_object* l_Lake_DSL_identOrStr___closed__11;
LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__1;
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0;
static lean_object* l_Lake_DSL_structVal___closed__9;
static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0;
static lean_object* l_Lake_DSL_elabConfig___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__15;
static lean_object* l_Lake_DSL_declValDo___closed__4;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4;
static lean_object* l_Lake_DSL_expandAttrs___closed__0;
LEAN_EXPORT lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__0;
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_identOrStr___closed__0;
LEAN_EXPORT lean_object* l_Lake_DSL_structVal;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__23;
lean_object* l_String_toRawSubstring_x27(lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0;
static lean_object* l_Lake_DSL_structVal___closed__10;
static lean_object* l_Lake_DSL_structVal___closed__8;
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__4;
LEAN_EXPORT lean_object* l_Lake_DSL_declValDo;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__19;
LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6;
static lean_object* l_Lake_DSL_simpleDeclSig___closed__2;
lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*);
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__2;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__11;
lean_object* l_List_head_x21___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5;
static lean_object* l_Lake_DSL_simpleDeclSig___closed__7;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__26;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__7;
static lean_object* l_Lake_DSL_elabConfig___closed__3;
static lean_object* l_Lake_DSL_elabConfig___closed__10;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__4;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__16;
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_simpleDeclSig___closed__6;
static lean_object* l_Lake_DSL_declField___closed__5;
static lean_object* l_Lake_DSL_declValDo___closed__6;
lean_object* l_Lean_Elab_Command_withMacroExpansion___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4;
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__9;
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__0;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__9;
static lean_object* l_Lake_DSL_elabConfig___closed__14;
static lean_object* l_Lake_DSL_structVal___closed__12;
static lean_object* l_Lake_DSL_elabConfig___closed__13;
static lean_object* l_Lake_DSL_declField___closed__9;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_declField;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_expandAttrs(lean_object*);
lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_structVal___closed__5;
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__17;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15;
lean_object* l_ReaderT_instApplicativeOfMonad___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isNone(lean_object*);
extern lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM;
static lean_object* l_Lake_DSL_declValWhere___closed__1;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__1;
static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0;
uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_NameMap_contains_spec__0___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__15;
static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1;
static lean_object* l_Lake_DSL_simpleBinder___closed__0;
static lean_object* l_Lake_DSL_elabConfig___closed__1;
static lean_object* l_Lake_DSL_declValStruct___closed__3;
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValWhere___closed__3;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__7;
static lean_object* l_Lake_DSL_simpleDeclSig___closed__5;
static lean_object* l_Lake_DSL_optConfig___closed__2;
static lean_object* l_Lake_DSL_declValWhere___closed__2;
static lean_object* l_Lake_DSL_identOrStr___closed__7;
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__1;
lean_object* l_ReaderT_instApplicativeOfMonad___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandAttrs___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6(lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lake_DSL_structVal___closed__14;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__10;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__2;
static lean_object* l_Lake_DSL_identOrStr___closed__4;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg(lean_object*);
static lean_object* l_Lake_DSL_declField___closed__6;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lake_DSL_declValDo___closed__5;
size_t lean_array_size(lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr1(lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__8;
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__11;
static lean_object* l_Lake_DSL_declField___closed__3;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__11;
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__2;
static lean_object* l_Lake_DSL_structVal___closed__1;
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__10;
static lean_object* l_Lake_DSL_identOrStr___closed__2;
static lean_object* l_Lake_DSL_packageDeclName___closed__1;
static lean_object* l_Lake_DSL_declValDo___closed__10;
extern lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM;
lean_object* l_Lean_Elab_Command_getCurrMacroScope___redArg(lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__3;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7;
static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValWhere___closed__5;
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10;
static lean_object* l_Lake_DSL_optConfig___closed__4;
LEAN_EXPORT lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclIdent(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declField___closed__10;
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__6;
static lean_object* l_Lake_DSL_structVal___closed__3;
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__7;
static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_bracketedSimpleBinder___closed__5;
lean_object* l_Lean_MessageData_ofName(lean_object*);
static lean_object* l_Lake_DSL_elabConfig___closed__17;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__18;
static lean_object* l_Lake_DSL_declValStruct___closed__4;
LEAN_EXPORT lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_declValDo___closed__16;
static lean_object* l_Lake_DSL_declValDo___closed__13;
static lean_object* l_Lake_DSL_identOrStr___closed__10;
lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*);
lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_expandOptSimpleBinder___closed__13;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8;
lean_object* l_ReaderT_instFunctorOfMonad___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lake_DSL_packageDeclName___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_package", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_packageDeclName___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_packageDeclName___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_packageDeclName() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_packageDeclName___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attributes", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_expandAttrs___closed__3;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_expandAttrs___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_expandAttrs(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 1)
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
lean_dec_ref(x_1);
x_3 = l_Lake_DSL_expandAttrs___closed__4;
lean_inc(x_2);
x_4 = l_Lean_Syntax_isOfKind(x_2, x_3);
if (x_4 == 0)
{
lean_object* x_5; 
lean_dec(x_2);
x_5 = l_Lake_DSL_expandAttrs___closed__5;
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = l_Lean_Syntax_getArg(x_2, x_6);
lean_dec(x_2);
x_8 = l_Lean_Syntax_getArgs(x_7);
lean_dec(x_7);
x_9 = l_Lean_Syntax_TSepArray_getElems___redArg(x_8);
lean_dec_ref(x_8);
return x_9;
}
}
else
{
lean_object* x_10; 
lean_dec(x_1);
x_10 = l_Lake_DSL_expandAttrs___closed__5;
return x_10;
}
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("identOrStr", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lake", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("DSL", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_identOrStr___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("orelse", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_identOrStr___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ident", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_identOrStr___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_identOrStr___closed__7;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("str", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_identOrStr___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_identOrStr___closed__10;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_identOrStr___closed__11;
x_2 = l_Lake_DSL_identOrStr___closed__8;
x_3 = l_Lake_DSL_identOrStr___closed__5;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_identOrStr___closed__12;
x_2 = l_Lake_DSL_identOrStr___closed__3;
x_3 = l_Lake_DSL_identOrStr___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_identOrStr() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_identOrStr___closed__13;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Lake_DSL_identOrStr___closed__3;
lean_inc(x_1);
x_3 = l_Lean_Syntax_isOfKind(x_1, x_2);
if (x_3 == 0)
{
lean_object* x_4; 
lean_dec(x_1);
x_4 = lean_box(0);
return x_4;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
lean_dec(x_1);
x_7 = l_Lake_DSL_identOrStr___closed__7;
lean_inc(x_6);
x_8 = l_Lean_Syntax_isOfKind(x_6, x_7);
if (x_8 == 0)
{
lean_object* x_9; uint8_t x_10; 
x_9 = l_Lake_DSL_identOrStr___closed__10;
lean_inc(x_6);
x_10 = l_Lean_Syntax_isOfKind(x_6, x_9);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec(x_6);
x_11 = lean_box(0);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = l_Lean_TSyntax_getString(x_6);
x_13 = lean_box(0);
x_14 = l_Lean_Name_str___override(x_13, x_12);
x_15 = l_Lean_mkIdentFrom(x_6, x_14, x_8);
lean_dec(x_6);
return x_15;
}
}
else
{
return x_6;
}
}
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declField", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declField___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("andthen", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declField___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declField___closed__4;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declField___closed__5;
x_2 = l_Lake_DSL_identOrStr___closed__8;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declField___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lake_DSL_declField___closed__8;
x_3 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declField___closed__9;
x_2 = l_Lake_DSL_declField___closed__6;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declField___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declField___closed__10;
x_2 = l_Lake_DSL_declField___closed__1;
x_3 = l_Lake_DSL_declField___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declField() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_declField___closed__11;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structVal", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_structVal___closed__2;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstFields", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_structVal___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("sepByIndentSemicolon", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_structVal___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_declField;
x_2 = l_Lake_DSL_structVal___closed__7;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_structVal___closed__8;
x_2 = l_Lake_DSL_structVal___closed__5;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal___closed__9;
x_2 = l_Lake_DSL_structVal___closed__3;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("}", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_structVal___closed__11;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal___closed__12;
x_2 = l_Lake_DSL_structVal___closed__10;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_structVal___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal___closed__13;
x_2 = l_Lake_DSL_structVal___closed__1;
x_3 = l_Lake_DSL_structVal___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_structVal() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_structVal___closed__14;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValDo", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ppSpace", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValDo___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValDo___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("do", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_declValDo___closed__5;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValDo___closed__6;
x_2 = lean_alloc_ctor(8, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__7;
x_2 = l_Lake_DSL_declValDo___closed__4;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optional", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValDo___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("whereDecls", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_declValDo___closed__11;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValDo___closed__12;
x_2 = lean_alloc_ctor(8, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_declValDo___closed__13;
x_2 = l_Lake_DSL_declValDo___closed__10;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__14;
x_2 = l_Lake_DSL_declValDo___closed__8;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValDo___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__15;
x_2 = l_Lake_DSL_declValDo___closed__1;
x_3 = l_Lake_DSL_declValDo___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValDo() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_declValDo___closed__16;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValStruct", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValStruct___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal;
x_2 = l_Lake_DSL_declValDo___closed__4;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__14;
x_2 = l_Lake_DSL_declValStruct___closed__2;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValStruct___closed__3;
x_2 = l_Lake_DSL_declValStruct___closed__1;
x_3 = l_Lake_DSL_declValStruct___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValStruct() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_declValStruct___closed__4;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValWhere", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValWhere___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" where ", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_declValWhere___closed__2;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_structVal___closed__9;
x_2 = l_Lake_DSL_declValWhere___closed__3;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValDo___closed__14;
x_2 = l_Lake_DSL_declValWhere___closed__4;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValWhere___closed__5;
x_2 = l_Lake_DSL_declValWhere___closed__1;
x_3 = l_Lake_DSL_declValWhere___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_declValWhere() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_declValWhere___closed__6;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpleDeclSig", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeSpec", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__2;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__3;
x_2 = lean_alloc_ctor(8, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__4;
x_2 = l_Lake_DSL_identOrStr___closed__8;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValSimple", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__7;
x_2 = l_Lake_DSL_simpleDeclSig___closed__6;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__8;
x_2 = lean_alloc_ctor(8, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__9;
x_2 = l_Lake_DSL_simpleDeclSig___closed__5;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__10;
x_2 = l_Lake_DSL_simpleDeclSig___closed__1;
x_3 = l_Lake_DSL_simpleDeclSig___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleDeclSig() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__11;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_optConfig___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optConfig", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_optConfig___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_optConfig___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_optConfig___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declValStruct;
x_2 = l_Lake_DSL_declValWhere;
x_3 = l_Lake_DSL_identOrStr___closed__5;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_optConfig___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_optConfig___closed__2;
x_2 = l_Lake_DSL_declValDo___closed__10;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_optConfig___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_optConfig___closed__3;
x_2 = l_Lake_DSL_optConfig___closed__1;
x_3 = l_Lake_DSL_optConfig___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_optConfig() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_optConfig___closed__4;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("bracketedSimpleBinder", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__2;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_identOrStr___closed__8;
x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__3;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" : ", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__5;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_declField___closed__9;
x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__6;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__7;
x_2 = l_Lake_DSL_declValDo___closed__10;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__8;
x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__4;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__10;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__11;
x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__9;
x_3 = l_Lake_DSL_declField___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__12;
x_2 = l_Lake_DSL_bracketedSimpleBinder___closed__1;
x_3 = l_Lake_DSL_bracketedSimpleBinder___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_bracketedSimpleBinder() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_bracketedSimpleBinder___closed__13;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleBinder___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpleBinder", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_simpleBinder___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleBinder___closed__0;
x_2 = l_Lake_DSL_identOrStr___closed__2;
x_3 = l_Lake_DSL_identOrStr___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleBinder___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_bracketedSimpleBinder;
x_2 = l_Lake_DSL_identOrStr___closed__8;
x_3 = l_Lake_DSL_identOrStr___closed__5;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleBinder___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleBinder___closed__2;
x_2 = l_Lake_DSL_simpleBinder___closed__1;
x_3 = l_Lake_DSL_simpleBinder___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_simpleBinder() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_simpleBinder___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hole", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__0;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeAscription", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__3;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hygienicLParen", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__5;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hygieneInfo", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__9;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_identOrStr___closed__2;
x_2 = l_Lake_DSL_identOrStr___closed__1;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__11;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_expandAttrs___closed__2;
x_2 = l_Lake_DSL_expandAttrs___closed__1;
x_3 = l_Lake_DSL_expandAttrs___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__13;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_simpleDeclSig___closed__6;
x_2 = l_Lake_DSL_expandAttrs___closed__1;
x_3 = l_Lake_DSL_expandAttrs___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__15;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_expandAttrs___closed__1;
x_2 = l_Lake_DSL_expandAttrs___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__17;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandAttrs___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__19;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__20;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__21;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__18;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__22;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__16;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__23;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__14;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__24;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__12;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_expandOptSimpleBinder___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_expandOptSimpleBinder___closed__27;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_4 = lean_ctor_get(x_2, 5);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = 0;
x_6 = l_Lean_SourceInfo_fromRef(x_4, x_5);
lean_dec(x_4);
x_7 = l_Lake_DSL_expandOptSimpleBinder___closed__1;
x_8 = l_Lake_DSL_expandOptSimpleBinder___closed__2;
lean_inc(x_6);
x_9 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_9, 0, x_6);
lean_ctor_set(x_9, 1, x_8);
x_10 = l_Lean_Syntax_node1(x_6, x_7, x_9);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_3);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_12 = lean_ctor_get(x_1, 0);
lean_inc(x_12);
lean_dec_ref(x_1);
x_13 = l_Lake_DSL_simpleBinder___closed__1;
lean_inc(x_12);
x_14 = l_Lean_Syntax_isOfKind(x_12, x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec(x_12);
x_15 = lean_ctor_get(x_2, 5);
lean_inc(x_15);
lean_dec_ref(x_2);
x_16 = l_Lean_SourceInfo_fromRef(x_15, x_14);
lean_dec(x_15);
x_17 = l_Lake_DSL_expandOptSimpleBinder___closed__1;
x_18 = l_Lake_DSL_expandOptSimpleBinder___closed__2;
lean_inc(x_16);
x_19 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_19, 0, x_16);
lean_ctor_set(x_19, 1, x_18);
x_20 = l_Lean_Syntax_node1(x_16, x_17, x_19);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_3);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = lean_unsigned_to_nat(0u);
x_23 = l_Lean_Syntax_getArg(x_12, x_22);
lean_dec(x_12);
x_24 = l_Lake_DSL_identOrStr___closed__7;
lean_inc(x_23);
x_25 = l_Lean_Syntax_isOfKind(x_23, x_24);
if (x_25 == 0)
{
lean_object* x_26; uint8_t x_27; 
x_26 = l_Lake_DSL_bracketedSimpleBinder___closed__1;
lean_inc(x_23);
x_27 = l_Lean_Syntax_isOfKind(x_23, x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_23);
x_28 = lean_ctor_get(x_2, 5);
lean_inc(x_28);
lean_dec_ref(x_2);
x_29 = l_Lean_SourceInfo_fromRef(x_28, x_25);
lean_dec(x_28);
x_30 = l_Lake_DSL_expandOptSimpleBinder___closed__1;
x_31 = l_Lake_DSL_expandOptSimpleBinder___closed__2;
lean_inc(x_29);
x_32 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_32, 0, x_29);
lean_ctor_set(x_32, 1, x_31);
x_33 = l_Lean_Syntax_node1(x_29, x_30, x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_3);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_64; lean_object* x_65; uint8_t x_66; 
x_35 = lean_unsigned_to_nat(1u);
x_36 = l_Lean_Syntax_getArg(x_23, x_35);
x_64 = lean_unsigned_to_nat(2u);
x_65 = l_Lean_Syntax_getArg(x_23, x_64);
lean_dec(x_23);
x_66 = l_Lean_Syntax_isNone(x_65);
if (x_66 == 0)
{
uint8_t x_67; 
lean_inc(x_65);
x_67 = l_Lean_Syntax_matchesNull(x_65, x_64);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
lean_dec(x_65);
lean_dec(x_36);
x_68 = lean_ctor_get(x_2, 5);
lean_inc(x_68);
lean_dec_ref(x_2);
x_69 = l_Lean_SourceInfo_fromRef(x_68, x_25);
lean_dec(x_68);
x_70 = l_Lake_DSL_expandOptSimpleBinder___closed__1;
x_71 = l_Lake_DSL_expandOptSimpleBinder___closed__2;
lean_inc(x_69);
x_72 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_72, 0, x_69);
lean_ctor_set(x_72, 1, x_71);
x_73 = l_Lean_Syntax_node1(x_69, x_70, x_72);
x_74 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_74, 0, x_73);
lean_ctor_set(x_74, 1, x_3);
return x_74;
}
else
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; 
x_75 = lean_ctor_get(x_2, 1);
lean_inc(x_75);
x_76 = lean_ctor_get(x_2, 2);
lean_inc(x_76);
x_77 = lean_ctor_get(x_2, 5);
lean_inc(x_77);
lean_dec_ref(x_2);
x_78 = l_Lean_Syntax_getArg(x_65, x_35);
lean_dec(x_65);
x_37 = x_3;
x_38 = x_75;
x_39 = x_76;
x_40 = x_77;
x_41 = x_78;
goto block_63;
}
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
lean_dec(x_65);
x_79 = lean_ctor_get(x_2, 1);
lean_inc(x_79);
x_80 = lean_ctor_get(x_2, 2);
lean_inc(x_80);
x_81 = lean_ctor_get(x_2, 5);
lean_inc(x_81);
lean_dec_ref(x_2);
x_82 = l_Lean_SourceInfo_fromRef(x_81, x_25);
x_83 = l_Lake_DSL_expandOptSimpleBinder___closed__1;
x_84 = l_Lake_DSL_expandOptSimpleBinder___closed__2;
lean_inc(x_82);
x_85 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_85, 0, x_82);
lean_ctor_set(x_85, 1, x_84);
x_86 = l_Lean_Syntax_node1(x_82, x_83, x_85);
x_37 = x_3;
x_38 = x_79;
x_39 = x_80;
x_40 = x_81;
x_41 = x_86;
goto block_63;
}
block_63:
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_42 = l_Lean_SourceInfo_fromRef(x_40, x_25);
lean_dec(x_40);
x_43 = l_Lake_DSL_expandOptSimpleBinder___closed__4;
x_44 = l_Lake_DSL_expandOptSimpleBinder___closed__6;
x_45 = l_Lake_DSL_bracketedSimpleBinder___closed__2;
lean_inc(x_42);
x_46 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_46, 0, x_42);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Lake_DSL_expandOptSimpleBinder___closed__8;
x_48 = l_Lake_DSL_expandOptSimpleBinder___closed__10;
x_49 = lean_box(0);
x_50 = l_Lean_addMacroScope(x_38, x_49, x_39);
x_51 = l_Lake_DSL_expandOptSimpleBinder___closed__25;
lean_inc(x_42);
x_52 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_52, 0, x_42);
lean_ctor_set(x_52, 1, x_48);
lean_ctor_set(x_52, 2, x_50);
lean_ctor_set(x_52, 3, x_51);
lean_inc(x_42);
x_53 = l_Lean_Syntax_node1(x_42, x_47, x_52);
lean_inc(x_42);
x_54 = l_Lean_Syntax_node2(x_42, x_44, x_46, x_53);
x_55 = l_Lake_DSL_expandOptSimpleBinder___closed__26;
lean_inc(x_42);
x_56 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_56, 0, x_42);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Lake_DSL_expandOptSimpleBinder___closed__28;
lean_inc(x_42);
x_58 = l_Lean_Syntax_node1(x_42, x_57, x_41);
x_59 = l_Lake_DSL_bracketedSimpleBinder___closed__10;
lean_inc(x_42);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_42);
lean_ctor_set(x_60, 1, x_59);
x_61 = l_Lean_Syntax_node5(x_42, x_43, x_54, x_36, x_56, x_58, x_60);
x_62 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_62, 0, x_61);
lean_ctor_set(x_62, 1, x_37);
return x_62;
}
}
}
else
{
lean_object* x_87; 
lean_dec_ref(x_2);
x_87 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_87, 0, x_23);
lean_ctor_set(x_87, 1, x_3);
return x_87;
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_Command_instInhabitedScope_default;
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_pp_macroStack;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = lean_unbox(x_4);
return x_6;
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
if (lean_obj_tag(x_7) == 1)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_7, 0);
lean_dec_ref(x_7);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_7);
x_9 = lean_unbox(x_4);
return x_9;
}
}
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(1);
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4;
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("while expanding", 15, 15);
return x_1;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1;
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec_ref(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_7 = lean_ctor_get(x_3, 1);
x_8 = lean_ctor_get(x_5, 0);
x_9 = lean_ctor_get(x_5, 1);
lean_dec(x_9);
lean_inc_ref(x_1);
lean_ctor_set_tag(x_5, 7);
lean_ctor_set(x_5, 1, x_1);
lean_ctor_set(x_5, 0, x_2);
x_10 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2;
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_10);
x_11 = l_Lean_MessageData_ofSyntax(x_8);
x_12 = l_Lean_indentD(x_11);
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_3);
lean_ctor_set(x_13, 1, x_12);
x_2 = x_13;
x_3 = x_7;
goto _start;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_3, 1);
x_16 = lean_ctor_get(x_5, 0);
lean_inc(x_16);
lean_dec(x_5);
lean_inc_ref(x_1);
x_17 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_17, 0, x_2);
lean_ctor_set(x_17, 1, x_1);
x_18 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2;
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_18);
lean_ctor_set(x_3, 0, x_17);
x_19 = l_Lean_MessageData_ofSyntax(x_16);
x_20 = l_Lean_indentD(x_19);
x_21 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_21, 0, x_3);
lean_ctor_set(x_21, 1, x_20);
x_2 = x_21;
x_3 = x_15;
goto _start;
}
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_23 = lean_ctor_get(x_3, 0);
x_24 = lean_ctor_get(x_3, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_3);
x_25 = lean_ctor_get(x_23, 0);
lean_inc(x_25);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 lean_ctor_release(x_23, 1);
 x_26 = x_23;
} else {
 lean_dec_ref(x_23);
 x_26 = lean_box(0);
}
lean_inc_ref(x_1);
if (lean_is_scalar(x_26)) {
 x_27 = lean_alloc_ctor(7, 2, 0);
} else {
 x_27 = x_26;
 lean_ctor_set_tag(x_27, 7);
}
lean_ctor_set(x_27, 0, x_2);
lean_ctor_set(x_27, 1, x_1);
x_28 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2;
x_29 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lean_MessageData_ofSyntax(x_25);
x_31 = l_Lean_indentD(x_30);
x_32 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_32, 0, x_29);
lean_ctor_set(x_32, 1, x_31);
x_2 = x_32;
x_3 = x_24;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_5 = lean_st_ref_get(x_3);
x_6 = lean_ctor_get(x_5, 2);
lean_inc(x_6);
lean_dec(x_5);
x_7 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0;
x_8 = l_List_head_x21___redArg(x_7, x_6);
lean_dec(x_6);
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
lean_dec(x_8);
x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1;
x_11 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1(x_9, x_10);
lean_dec(x_9);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_2);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_1);
return x_12;
}
else
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_13; 
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_1);
return x_13;
}
else
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_ctor_get(x_2, 0);
lean_inc(x_14);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_16 = lean_ctor_get(x_14, 1);
x_17 = lean_ctor_get(x_14, 0);
lean_dec(x_17);
x_18 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2;
lean_ctor_set_tag(x_14, 7);
lean_ctor_set(x_14, 1, x_18);
lean_ctor_set(x_14, 0, x_1);
x_19 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5;
x_20 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_20, 0, x_14);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lean_MessageData_ofSyntax(x_16);
x_22 = l_Lean_indentD(x_21);
x_23 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_23, 0, x_20);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2(x_18, x_23, x_2);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_26 = lean_ctor_get(x_14, 1);
lean_inc(x_26);
lean_dec(x_14);
x_27 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2;
x_28 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_28, 0, x_1);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5;
x_30 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_MessageData_ofSyntax(x_26);
x_32 = l_Lean_indentD(x_31);
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_30);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2(x_27, x_33, x_2);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 8);
lean_inc_ref(x_5);
lean_dec(x_4);
x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*3);
lean_dec_ref(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; 
lean_dec_ref(x_1);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
else
{
lean_object* x_9; uint8_t x_10; 
x_9 = lean_st_ref_take(x_2);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_ctor_get(x_9, 8);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_ctor_get(x_11, 2);
x_14 = l_Lean_PersistentArray_push___redArg(x_13, x_1);
lean_ctor_set(x_11, 2, x_14);
x_15 = lean_st_ref_set(x_2, x_9);
x_16 = lean_box(0);
x_17 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
else
{
uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_18 = lean_ctor_get_uint8(x_11, sizeof(void*)*3);
x_19 = lean_ctor_get(x_11, 0);
x_20 = lean_ctor_get(x_11, 1);
x_21 = lean_ctor_get(x_11, 2);
lean_inc(x_21);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_11);
x_22 = l_Lean_PersistentArray_push___redArg(x_21, x_1);
x_23 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_23, 0, x_19);
lean_ctor_set(x_23, 1, x_20);
lean_ctor_set(x_23, 2, x_22);
lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_18);
lean_ctor_set(x_9, 8, x_23);
x_24 = lean_st_ref_set(x_2, x_9);
x_25 = lean_box(0);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_27 = lean_ctor_get(x_9, 8);
x_28 = lean_ctor_get(x_9, 0);
x_29 = lean_ctor_get(x_9, 1);
x_30 = lean_ctor_get(x_9, 2);
x_31 = lean_ctor_get(x_9, 3);
x_32 = lean_ctor_get(x_9, 4);
x_33 = lean_ctor_get(x_9, 5);
x_34 = lean_ctor_get(x_9, 6);
x_35 = lean_ctor_get(x_9, 7);
x_36 = lean_ctor_get(x_9, 9);
x_37 = lean_ctor_get(x_9, 10);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_27);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_inc(x_32);
lean_inc(x_31);
lean_inc(x_30);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_9);
x_38 = lean_ctor_get_uint8(x_27, sizeof(void*)*3);
x_39 = lean_ctor_get(x_27, 0);
lean_inc_ref(x_39);
x_40 = lean_ctor_get(x_27, 1);
lean_inc_ref(x_40);
x_41 = lean_ctor_get(x_27, 2);
lean_inc_ref(x_41);
if (lean_is_exclusive(x_27)) {
 lean_ctor_release(x_27, 0);
 lean_ctor_release(x_27, 1);
 lean_ctor_release(x_27, 2);
 x_42 = x_27;
} else {
 lean_dec_ref(x_27);
 x_42 = lean_box(0);
}
x_43 = l_Lean_PersistentArray_push___redArg(x_41, x_1);
if (lean_is_scalar(x_42)) {
 x_44 = lean_alloc_ctor(0, 3, 1);
} else {
 x_44 = x_42;
}
lean_ctor_set(x_44, 0, x_39);
lean_ctor_set(x_44, 1, x_40);
lean_ctor_set(x_44, 2, x_43);
lean_ctor_set_uint8(x_44, sizeof(void*)*3, x_38);
x_45 = lean_alloc_ctor(0, 11, 0);
lean_ctor_set(x_45, 0, x_28);
lean_ctor_set(x_45, 1, x_29);
lean_ctor_set(x_45, 2, x_30);
lean_ctor_set(x_45, 3, x_31);
lean_ctor_set(x_45, 4, x_32);
lean_ctor_set(x_45, 5, x_33);
lean_ctor_set(x_45, 6, x_34);
lean_ctor_set(x_45, 7, x_35);
lean_ctor_set(x_45, 8, x_44);
lean_ctor_set(x_45, 9, x_36);
lean_ctor_set(x_45, 10, x_37);
x_46 = lean_st_ref_set(x_2, x_45);
x_47 = lean_box(0);
x_48 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_48, 0, x_47);
return x_48;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg(x_1, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_1);
lean_ctor_set(x_3, 4, x_1);
lean_ctor_set(x_3, 5, x_1);
lean_ctor_set(x_3, 6, x_1);
lean_ctor_set(x_3, 7, x_1);
lean_ctor_set(x_3, 8, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3;
x_4 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_2);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(1);
x_2 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5;
x_3 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5);
lean_dec(x_4);
x_6 = lean_st_ref_get(x_2);
x_7 = lean_ctor_get(x_6, 2);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0;
x_9 = l_List_head_x21___redArg(x_8, x_7);
lean_dec(x_7);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2;
x_12 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6;
x_13 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_13, 0, x_5);
lean_ctor_set(x_13, 1, x_11);
lean_ctor_set(x_13, 2, x_12);
lean_ctor_set(x_13, 3, x_10);
x_14 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(x_1, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_Command_getRef___redArg(x_2);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
x_7 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(x_1, x_3);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec_ref(x_7);
x_9 = lean_ctor_get(x_2, 4);
lean_inc(x_9);
lean_dec_ref(x_2);
lean_inc(x_9);
x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg(x_8, x_9, x_3);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = l_Lean_Elab_getBetterRef(x_6, x_9);
lean_dec(x_6);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_12);
lean_ctor_set_tag(x_10, 1);
lean_ctor_set(x_10, 0, x_14);
return x_10;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_10, 0);
lean_inc(x_15);
lean_dec(x_10);
x_16 = l_Lean_Elab_getBetterRef(x_6, x_9);
lean_dec(x_6);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
else
{
uint8_t x_19; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_19 = !lean_is_exclusive(x_5);
if (x_19 == 0)
{
return x_5;
}
else
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_5, 0);
lean_inc(x_20);
lean_dec(x_5);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_Command_getRef___redArg(x_3);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec_ref(x_6);
x_8 = !lean_is_exclusive(x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_3, 7);
lean_dec(x_9);
x_10 = l_Lean_replaceRef(x_1, x_7);
lean_dec(x_7);
lean_ctor_set(x_3, 7, x_10);
x_11 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(x_2, x_3, x_4);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_12 = lean_ctor_get(x_3, 0);
x_13 = lean_ctor_get(x_3, 1);
x_14 = lean_ctor_get(x_3, 2);
x_15 = lean_ctor_get(x_3, 3);
x_16 = lean_ctor_get(x_3, 4);
x_17 = lean_ctor_get(x_3, 5);
x_18 = lean_ctor_get(x_3, 6);
x_19 = lean_ctor_get(x_3, 8);
x_20 = lean_ctor_get(x_3, 9);
x_21 = lean_ctor_get_uint8(x_3, sizeof(void*)*10);
lean_inc(x_20);
lean_inc(x_19);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_3);
x_22 = l_Lean_replaceRef(x_1, x_7);
lean_dec(x_7);
x_23 = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(x_23, 0, x_12);
lean_ctor_set(x_23, 1, x_13);
lean_ctor_set(x_23, 2, x_14);
lean_ctor_set(x_23, 3, x_15);
lean_ctor_set(x_23, 4, x_16);
lean_ctor_set(x_23, 5, x_17);
lean_ctor_set(x_23, 6, x_18);
lean_ctor_set(x_23, 7, x_22);
lean_ctor_set(x_23, 8, x_19);
lean_ctor_set(x_23, 9, x_20);
lean_ctor_set_uint8(x_23, sizeof(void*)*10, x_21);
x_24 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(x_2, x_23, x_4);
return x_24;
}
}
else
{
uint8_t x_25; 
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_25 = !lean_is_exclusive(x_6);
if (x_25 == 0)
{
return x_6;
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_6, 0);
lean_inc(x_26);
lean_dec(x_6);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg(x_2, x_3, x_4, x_5);
return x_7;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 0;
x_2 = lean_box(0);
x_3 = l_Lean_SourceInfo_fromRef(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstField", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstLVal", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_mkArray0(lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__28;
x_3 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstFieldDef", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":=", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9;
x_2 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0;
x_3 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_2, 3);
lean_inc(x_6);
x_7 = lean_ctor_get(x_2, 4);
lean_inc(x_7);
lean_dec_ref(x_2);
x_8 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(x_1, x_6);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec_ref(x_8);
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_5, 1);
lean_inc(x_11);
lean_dec(x_5);
x_12 = 1;
x_13 = l_Lean_mkIdentFrom(x_10, x_4, x_12);
lean_dec(x_10);
x_14 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0;
x_15 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2;
x_16 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4;
x_17 = l_Lake_DSL_expandOptSimpleBinder___closed__28;
x_18 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6;
x_19 = l_Lean_Syntax_node2(x_14, x_16, x_13, x_18);
x_20 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8;
x_21 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10;
x_22 = l_Lean_Syntax_node3(x_14, x_20, x_21, x_18, x_11);
x_23 = l_Lean_Syntax_node3(x_14, x_17, x_18, x_18, x_22);
x_24 = l_Lean_Syntax_node2(x_14, x_15, x_19, x_23);
x_25 = lean_array_push(x_9, x_24);
x_1 = x_25;
x_2 = x_7;
goto _start;
}
else
{
lean_object* x_27; 
x_27 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_27, 0, x_1);
return x_27;
}
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(x_1, x_2);
return x_6;
}
}
static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0;
x_4 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_2);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_st_ref_get(x_3);
x_6 = lean_ctor_get(x_5, 8);
lean_inc_ref(x_6);
lean_dec(x_5);
x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*3);
lean_dec_ref(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec_ref(x_1);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2;
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_1);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg(x_11, x_3);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_alloc_ctor(8, 1, 0);
lean_ctor_set(x_5, 0, x_1);
x_6 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6(x_5, x_2, x_3);
return x_6;
}
}
static lean_object* _init_l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("trace", 5, 5);
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_3, 0);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_ctor_get(x_3, 1);
x_6 = l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0;
x_7 = lean_string_dec_eq(x_5, x_6);
if (x_7 == 0)
{
return x_1;
}
else
{
return x_2;
}
}
else
{
return x_1;
}
}
else
{
return x_1;
}
}
}
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; 
x_4 = lean_unbox(x_1);
x_5 = lean_unbox(x_2);
x_6 = l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0(x_4, x_5, x_3);
lean_dec(x_3);
x_7 = lean_box(x_6);
return x_7;
}
}
static lean_object* _init_l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_warningAsError;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; lean_object* x_87; uint8_t x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; uint8_t x_125; uint8_t x_126; lean_object* x_127; uint8_t x_128; uint8_t x_139; uint8_t x_140; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_145; uint8_t x_158; 
x_139 = 2;
x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_139);
if (x_158 == 0)
{
x_145 = x_158;
goto block_157;
}
else
{
uint8_t x_159; 
lean_inc_ref(x_2);
x_159 = l_Lean_MessageData_hasSyntheticSorry(x_2);
x_145 = x_159;
goto block_157;
}
block_81:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Command_getScope___redArg(x_15);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = l_Lean_Elab_Command_getScope___redArg(x_15);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_21 = lean_ctor_get(x_19, 0);
x_22 = lean_st_ref_take(x_15);
x_23 = lean_ctor_get(x_18, 2);
lean_inc(x_23);
lean_dec(x_18);
x_24 = lean_ctor_get(x_21, 3);
lean_inc(x_24);
lean_dec(x_21);
x_25 = !lean_is_exclusive(x_22);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_26 = lean_ctor_get(x_22, 1);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_23);
lean_ctor_set(x_27, 1, x_24);
x_28 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_14);
x_29 = lean_alloc_ctor(0, 5, 3);
lean_ctor_set(x_29, 0, x_13);
lean_ctor_set(x_29, 1, x_11);
lean_ctor_set(x_29, 2, x_8);
lean_ctor_set(x_29, 3, x_12);
lean_ctor_set(x_29, 4, x_28);
lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_10);
lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_9);
lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4);
x_30 = l_Lean_MessageLog_add(x_29, x_26);
lean_ctor_set(x_22, 1, x_30);
x_31 = lean_st_ref_set(x_15, x_22);
x_32 = lean_box(0);
lean_ctor_set(x_19, 0, x_32);
return x_19;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_33 = lean_ctor_get(x_22, 0);
x_34 = lean_ctor_get(x_22, 1);
x_35 = lean_ctor_get(x_22, 2);
x_36 = lean_ctor_get(x_22, 3);
x_37 = lean_ctor_get(x_22, 4);
x_38 = lean_ctor_get(x_22, 5);
x_39 = lean_ctor_get(x_22, 6);
x_40 = lean_ctor_get(x_22, 7);
x_41 = lean_ctor_get(x_22, 8);
x_42 = lean_ctor_get(x_22, 9);
x_43 = lean_ctor_get(x_22, 10);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_inc(x_38);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_22);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_23);
lean_ctor_set(x_44, 1, x_24);
x_45 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_14);
x_46 = lean_alloc_ctor(0, 5, 3);
lean_ctor_set(x_46, 0, x_13);
lean_ctor_set(x_46, 1, x_11);
lean_ctor_set(x_46, 2, x_8);
lean_ctor_set(x_46, 3, x_12);
lean_ctor_set(x_46, 4, x_45);
lean_ctor_set_uint8(x_46, sizeof(void*)*5, x_10);
lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 1, x_9);
lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 2, x_4);
x_47 = l_Lean_MessageLog_add(x_46, x_34);
x_48 = lean_alloc_ctor(0, 11, 0);
lean_ctor_set(x_48, 0, x_33);
lean_ctor_set(x_48, 1, x_47);
lean_ctor_set(x_48, 2, x_35);
lean_ctor_set(x_48, 3, x_36);
lean_ctor_set(x_48, 4, x_37);
lean_ctor_set(x_48, 5, x_38);
lean_ctor_set(x_48, 6, x_39);
lean_ctor_set(x_48, 7, x_40);
lean_ctor_set(x_48, 8, x_41);
lean_ctor_set(x_48, 9, x_42);
lean_ctor_set(x_48, 10, x_43);
x_49 = lean_st_ref_set(x_15, x_48);
x_50 = lean_box(0);
lean_ctor_set(x_19, 0, x_50);
return x_19;
}
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_51 = lean_ctor_get(x_19, 0);
lean_inc(x_51);
lean_dec(x_19);
x_52 = lean_st_ref_take(x_15);
x_53 = lean_ctor_get(x_18, 2);
lean_inc(x_53);
lean_dec(x_18);
x_54 = lean_ctor_get(x_51, 3);
lean_inc(x_54);
lean_dec(x_51);
x_55 = lean_ctor_get(x_52, 0);
lean_inc_ref(x_55);
x_56 = lean_ctor_get(x_52, 1);
lean_inc_ref(x_56);
x_57 = lean_ctor_get(x_52, 2);
lean_inc(x_57);
x_58 = lean_ctor_get(x_52, 3);
lean_inc(x_58);
x_59 = lean_ctor_get(x_52, 4);
lean_inc(x_59);
x_60 = lean_ctor_get(x_52, 5);
lean_inc(x_60);
x_61 = lean_ctor_get(x_52, 6);
lean_inc_ref(x_61);
x_62 = lean_ctor_get(x_52, 7);
lean_inc_ref(x_62);
x_63 = lean_ctor_get(x_52, 8);
lean_inc_ref(x_63);
x_64 = lean_ctor_get(x_52, 9);
lean_inc_ref(x_64);
x_65 = lean_ctor_get(x_52, 10);
lean_inc_ref(x_65);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 lean_ctor_release(x_52, 1);
 lean_ctor_release(x_52, 2);
 lean_ctor_release(x_52, 3);
 lean_ctor_release(x_52, 4);
 lean_ctor_release(x_52, 5);
 lean_ctor_release(x_52, 6);
 lean_ctor_release(x_52, 7);
 lean_ctor_release(x_52, 8);
 lean_ctor_release(x_52, 9);
 lean_ctor_release(x_52, 10);
 x_66 = x_52;
} else {
 lean_dec_ref(x_52);
 x_66 = lean_box(0);
}
x_67 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_67, 0, x_53);
lean_ctor_set(x_67, 1, x_54);
x_68 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_14);
x_69 = lean_alloc_ctor(0, 5, 3);
lean_ctor_set(x_69, 0, x_13);
lean_ctor_set(x_69, 1, x_11);
lean_ctor_set(x_69, 2, x_8);
lean_ctor_set(x_69, 3, x_12);
lean_ctor_set(x_69, 4, x_68);
lean_ctor_set_uint8(x_69, sizeof(void*)*5, x_10);
lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 1, x_9);
lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 2, x_4);
x_70 = l_Lean_MessageLog_add(x_69, x_56);
if (lean_is_scalar(x_66)) {
 x_71 = lean_alloc_ctor(0, 11, 0);
} else {
 x_71 = x_66;
}
lean_ctor_set(x_71, 0, x_55);
lean_ctor_set(x_71, 1, x_70);
lean_ctor_set(x_71, 2, x_57);
lean_ctor_set(x_71, 3, x_58);
lean_ctor_set(x_71, 4, x_59);
lean_ctor_set(x_71, 5, x_60);
lean_ctor_set(x_71, 6, x_61);
lean_ctor_set(x_71, 7, x_62);
lean_ctor_set(x_71, 8, x_63);
lean_ctor_set(x_71, 9, x_64);
lean_ctor_set(x_71, 10, x_65);
x_72 = lean_st_ref_set(x_15, x_71);
x_73 = lean_box(0);
x_74 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_74, 0, x_73);
return x_74;
}
}
else
{
uint8_t x_75; 
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_11);
lean_dec(x_8);
x_75 = !lean_is_exclusive(x_19);
if (x_75 == 0)
{
return x_19;
}
else
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_19, 0);
lean_inc(x_76);
lean_dec(x_19);
x_77 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_77, 0, x_76);
return x_77;
}
}
}
else
{
uint8_t x_78; 
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_11);
lean_dec(x_8);
x_78 = !lean_is_exclusive(x_17);
if (x_78 == 0)
{
return x_17;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_17, 0);
lean_inc(x_79);
lean_dec(x_17);
x_80 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_80, 0, x_79);
return x_80;
}
}
}
block_115:
{
lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; 
x_88 = lean_ctor_get(x_5, 0);
lean_inc_ref(x_88);
x_89 = lean_ctor_get(x_5, 1);
lean_inc_ref(x_89);
x_90 = lean_ctor_get_uint8(x_5, sizeof(void*)*10);
lean_dec_ref(x_5);
x_91 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2);
x_92 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(x_91, x_6);
x_93 = !lean_is_exclusive(x_92);
if (x_93 == 0)
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 
x_94 = lean_ctor_get(x_92, 0);
lean_inc_ref(x_89);
x_95 = l_Lean_FileMap_toPosition(x_89, x_84);
lean_dec(x_84);
x_96 = l_Lean_FileMap_toPosition(x_89, x_87);
lean_dec(x_87);
x_97 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_97, 0, x_96);
x_98 = l_Lake_DSL_expandOptSimpleBinder___closed__9;
if (x_90 == 0)
{
lean_free_object(x_92);
x_8 = x_97;
x_9 = x_85;
x_10 = x_86;
x_11 = x_95;
x_12 = x_98;
x_13 = x_88;
x_14 = x_94;
x_15 = x_6;
x_16 = lean_box(0);
goto block_81;
}
else
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; 
x_99 = lean_box(x_82);
x_100 = lean_box(x_90);
x_101 = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___boxed), 3, 2);
lean_closure_set(x_101, 0, x_99);
lean_closure_set(x_101, 1, x_100);
lean_inc(x_94);
x_102 = l_Lean_MessageData_hasTag(x_101, x_94);
if (x_102 == 0)
{
lean_object* x_103; 
lean_dec_ref(x_97);
lean_dec_ref(x_95);
lean_dec(x_94);
lean_dec_ref(x_88);
x_103 = lean_box(0);
lean_ctor_set(x_92, 0, x_103);
return x_92;
}
else
{
lean_free_object(x_92);
x_8 = x_97;
x_9 = x_85;
x_10 = x_86;
x_11 = x_95;
x_12 = x_98;
x_13 = x_88;
x_14 = x_94;
x_15 = x_6;
x_16 = lean_box(0);
goto block_81;
}
}
}
else
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 
x_104 = lean_ctor_get(x_92, 0);
lean_inc(x_104);
lean_dec(x_92);
lean_inc_ref(x_89);
x_105 = l_Lean_FileMap_toPosition(x_89, x_84);
lean_dec(x_84);
x_106 = l_Lean_FileMap_toPosition(x_89, x_87);
lean_dec(x_87);
x_107 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_107, 0, x_106);
x_108 = l_Lake_DSL_expandOptSimpleBinder___closed__9;
if (x_90 == 0)
{
x_8 = x_107;
x_9 = x_85;
x_10 = x_86;
x_11 = x_105;
x_12 = x_108;
x_13 = x_88;
x_14 = x_104;
x_15 = x_6;
x_16 = lean_box(0);
goto block_81;
}
else
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; 
x_109 = lean_box(x_82);
x_110 = lean_box(x_90);
x_111 = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___boxed), 3, 2);
lean_closure_set(x_111, 0, x_109);
lean_closure_set(x_111, 1, x_110);
lean_inc(x_104);
x_112 = l_Lean_MessageData_hasTag(x_111, x_104);
if (x_112 == 0)
{
lean_object* x_113; lean_object* x_114; 
lean_dec_ref(x_107);
lean_dec_ref(x_105);
lean_dec(x_104);
lean_dec_ref(x_88);
x_113 = lean_box(0);
x_114 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_114, 0, x_113);
return x_114;
}
else
{
x_8 = x_107;
x_9 = x_85;
x_10 = x_86;
x_11 = x_105;
x_12 = x_108;
x_13 = x_88;
x_14 = x_104;
x_15 = x_6;
x_16 = lean_box(0);
goto block_81;
}
}
}
}
block_124:
{
lean_object* x_122; 
x_122 = l_Lean_Syntax_getTailPos_x3f(x_119, x_120);
lean_dec(x_119);
if (lean_obj_tag(x_122) == 0)
{
lean_inc(x_121);
x_82 = x_116;
x_83 = lean_box(0);
x_84 = x_121;
x_85 = x_118;
x_86 = x_120;
x_87 = x_121;
goto block_115;
}
else
{
lean_object* x_123; 
x_123 = lean_ctor_get(x_122, 0);
lean_inc(x_123);
lean_dec_ref(x_122);
x_82 = x_116;
x_83 = lean_box(0);
x_84 = x_121;
x_85 = x_118;
x_86 = x_120;
x_87 = x_123;
goto block_115;
}
}
block_138:
{
lean_object* x_129; 
x_129 = l_Lean_Elab_Command_getRef___redArg(x_5);
if (lean_obj_tag(x_129) == 0)
{
lean_object* x_130; lean_object* x_131; lean_object* x_132; 
x_130 = lean_ctor_get(x_129, 0);
lean_inc(x_130);
lean_dec_ref(x_129);
x_131 = l_Lean_replaceRef(x_1, x_130);
lean_dec(x_130);
x_132 = l_Lean_Syntax_getPos_x3f(x_131, x_126);
if (lean_obj_tag(x_132) == 0)
{
lean_object* x_133; 
x_133 = lean_unsigned_to_nat(0u);
x_116 = x_125;
x_117 = lean_box(0);
x_118 = x_128;
x_119 = x_131;
x_120 = x_126;
x_121 = x_133;
goto block_124;
}
else
{
lean_object* x_134; 
x_134 = lean_ctor_get(x_132, 0);
lean_inc(x_134);
lean_dec_ref(x_132);
x_116 = x_125;
x_117 = lean_box(0);
x_118 = x_128;
x_119 = x_131;
x_120 = x_126;
x_121 = x_134;
goto block_124;
}
}
else
{
uint8_t x_135; 
lean_dec_ref(x_5);
lean_dec_ref(x_2);
x_135 = !lean_is_exclusive(x_129);
if (x_135 == 0)
{
return x_129;
}
else
{
lean_object* x_136; lean_object* x_137; 
x_136 = lean_ctor_get(x_129, 0);
lean_inc(x_136);
lean_dec(x_129);
x_137 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_137, 0, x_136);
return x_137;
}
}
}
block_144:
{
if (x_143 == 0)
{
x_125 = x_140;
x_126 = x_141;
x_127 = lean_box(0);
x_128 = x_3;
goto block_138;
}
else
{
x_125 = x_140;
x_126 = x_141;
x_127 = lean_box(0);
x_128 = x_139;
goto block_138;
}
}
block_157:
{
if (x_145 == 0)
{
lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; uint8_t x_152; 
x_146 = lean_st_ref_get(x_6);
x_147 = lean_ctor_get(x_146, 2);
lean_inc(x_147);
lean_dec(x_146);
x_148 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0;
x_149 = l_List_head_x21___redArg(x_148, x_147);
lean_dec(x_147);
x_150 = lean_ctor_get(x_149, 1);
lean_inc(x_150);
lean_dec(x_149);
x_151 = 1;
x_152 = l_Lean_instBEqMessageSeverity_beq(x_3, x_151);
if (x_152 == 0)
{
lean_dec(x_150);
x_140 = x_145;
x_141 = x_145;
x_142 = lean_box(0);
x_143 = x_152;
goto block_144;
}
else
{
lean_object* x_153; uint8_t x_154; 
x_153 = l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0;
x_154 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1(x_150, x_153);
lean_dec(x_150);
x_140 = x_145;
x_141 = x_145;
x_142 = lean_box(0);
x_143 = x_154;
goto block_144;
}
}
else
{
lean_object* x_155; lean_object* x_156; 
lean_dec_ref(x_5);
lean_dec_ref(x_2);
x_155 = lean_box(0);
x_156 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_156, 0, x_155);
return x_156;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_6; uint8_t x_7; lean_object* x_8; 
x_6 = 1;
x_7 = 0;
x_8 = l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9(x_1, x_2, x_6, x_7, x_3, x_4);
return x_8;
}
}
static lean_object* _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_structVal___closed__4;
x_2 = l_Lake_DSL_expandAttrs___closed__2;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_empty(lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1;
x_2 = l_Lake_DSL_expandOptSimpleBinder___closed__28;
x_3 = lean_box(2);
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ill-formed field declaration syntax", 35, 35);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(1);
x_2 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5;
x_3 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("redefined field '", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("' ('", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("' is an alias of '", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("')", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown '", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("' field '", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; lean_object* x_11; uint8_t x_16; 
x_16 = lean_usize_dec_lt(x_5, x_4);
if (x_16 == 0)
{
lean_object* x_17; 
lean_dec_ref(x_7);
lean_dec(x_1);
x_17 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_17, 0, x_6);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_18 = lean_array_uget(x_3, x_5);
x_19 = l_Lake_DSL_declField___closed__1;
lean_inc(x_18);
x_20 = l_Lean_Syntax_isOfKind(x_18, x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
lean_dec(x_6);
lean_dec(x_1);
x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1;
x_22 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg(x_18, x_21, x_7, x_8);
lean_dec(x_18);
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
return x_22;
}
else
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_ctor_get(x_22, 0);
lean_inc(x_24);
lean_dec(x_22);
x_25 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_26 = lean_unsigned_to_nat(0u);
x_27 = l_Lean_Syntax_getArg(x_18, x_26);
x_28 = l_Lean_TSyntax_getId(x_27);
lean_inc(x_28);
x_29 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_29, 0, x_28);
x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4;
lean_inc(x_1);
lean_inc(x_18);
x_31 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_31, 0, x_18);
lean_ctor_set(x_31, 1, x_29);
lean_ctor_set(x_31, 2, x_30);
lean_ctor_set(x_31, 3, x_1);
x_32 = l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6(x_31, x_7, x_8);
lean_dec_ref(x_32);
x_33 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(x_2, x_28);
if (lean_obj_tag(x_33) == 1)
{
lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
lean_dec_ref(x_33);
x_35 = lean_ctor_get(x_34, 1);
lean_inc(x_35);
x_36 = lean_ctor_get_uint8(x_34, sizeof(void*)*2);
lean_dec(x_34);
x_37 = lean_unsigned_to_nat(2u);
x_38 = l_Lean_Syntax_getArg(x_18, x_37);
lean_dec(x_18);
if (x_36 == 0)
{
if (x_20 == 0)
{
lean_dec(x_28);
x_39 = x_6;
x_40 = lean_box(0);
goto block_43;
}
else
{
uint8_t x_44; 
x_44 = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_NameMap_contains_spec__0___redArg(x_35, x_6);
if (x_44 == 0)
{
lean_dec(x_28);
x_39 = x_6;
x_40 = lean_box(0);
goto block_43;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6;
lean_inc(x_35);
x_46 = l_Lean_MessageData_ofName(x_35);
lean_inc_ref(x_46);
x_47 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
x_48 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8;
x_49 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lean_MessageData_ofName(x_28);
x_51 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10;
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
x_54 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_46);
x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12;
x_56 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
lean_inc_ref(x_7);
x_57 = l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9(x_27, x_56, x_7, x_8);
if (lean_obj_tag(x_57) == 0)
{
lean_dec_ref(x_57);
x_39 = x_6;
x_40 = lean_box(0);
goto block_43;
}
else
{
uint8_t x_58; 
lean_dec(x_38);
lean_dec(x_35);
lean_dec(x_27);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec(x_1);
x_58 = !lean_is_exclusive(x_57);
if (x_58 == 0)
{
return x_57;
}
else
{
lean_object* x_59; lean_object* x_60; 
x_59 = lean_ctor_get(x_57, 0);
lean_inc(x_59);
lean_dec(x_57);
x_60 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_60, 0, x_59);
return x_60;
}
}
}
}
}
else
{
lean_dec(x_28);
x_39 = x_6;
x_40 = lean_box(0);
goto block_43;
}
block_43:
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_27);
lean_ctor_set(x_41, 1, x_38);
x_42 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_35, x_41, x_39);
x_10 = x_42;
x_11 = lean_box(0);
goto block_15;
}
}
else
{
lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
lean_dec(x_33);
lean_dec(x_18);
x_61 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14;
x_62 = 0;
lean_inc(x_1);
x_63 = l_Lean_MessageData_ofConstName(x_1, x_62);
x_64 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_64, 0, x_61);
lean_ctor_set(x_64, 1, x_63);
x_65 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16;
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lean_MessageData_ofName(x_28);
x_68 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18;
x_70 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
lean_inc_ref(x_7);
x_71 = l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9(x_27, x_70, x_7, x_8);
lean_dec(x_27);
if (lean_obj_tag(x_71) == 0)
{
lean_dec_ref(x_71);
x_10 = x_6;
x_11 = lean_box(0);
goto block_15;
}
else
{
uint8_t x_72; 
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec(x_1);
x_72 = !lean_is_exclusive(x_71);
if (x_72 == 0)
{
return x_71;
}
else
{
lean_object* x_73; lean_object* x_74; 
x_73 = lean_ctor_get(x_71, 0);
lean_inc(x_73);
lean_dec(x_71);
x_74 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_74, 0, x_73);
return x_74;
}
}
}
}
}
block_15:
{
size_t x_12; size_t x_13; 
x_12 = 1;
x_13 = lean_usize_add(x_5, x_12);
x_5 = x_13;
x_6 = x_10;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; 
x_7 = lean_box(1);
x_8 = lean_array_size(x_3);
x_9 = 0;
x_10 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11(x_1, x_2, x_3, x_8, x_9, x_7, x_4, x_5);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec_ref(x_10);
x_12 = l_Lake_DSL_expandAttrs___closed__5;
x_13 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(x_12, x_11);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_15 = lean_ctor_get(x_13, 0);
x_16 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
x_17 = lean_box(2);
x_18 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2;
x_19 = l_Lean_Syntax_mkSep(x_15, x_18);
lean_dec(x_15);
x_20 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3;
x_21 = lean_array_push(x_20, x_19);
x_22 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_22, 0, x_17);
lean_ctor_set(x_22, 1, x_16);
lean_ctor_set(x_22, 2, x_21);
lean_ctor_set(x_13, 0, x_22);
return x_13;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_23 = lean_ctor_get(x_13, 0);
lean_inc(x_23);
lean_dec(x_13);
x_24 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
x_25 = lean_box(2);
x_26 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2;
x_27 = l_Lean_Syntax_mkSep(x_23, x_26);
lean_dec(x_23);
x_28 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3;
x_29 = lean_array_push(x_28, x_27);
x_30 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_30, 0, x_25);
lean_ctor_set(x_30, 1, x_24);
lean_ctor_set(x_30, 2, x_29);
x_31 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_31, 0, x_30);
return x_31;
}
}
else
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_10);
if (x_32 == 0)
{
return x_10;
}
else
{
lean_object* x_33; lean_object* x_34; 
x_33 = lean_ctor_get(x_10, 0);
lean_inc(x_33);
lean_dec(x_10);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
return x_34;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0(x_1, x_2, x_3, x_4);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__1(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0___redArg(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6_spec__6___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_3);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg(x_1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
size_t x_10; size_t x_11; lean_object* x_12; 
x_10 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_11 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_3);
lean_dec(x_2);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; uint8_t x_9; lean_object* x_10; 
x_8 = lean_unbox(x_3);
x_9 = lean_unbox(x_4);
x_10 = l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9(x_1, x_2, x_8, x_9, x_5, x_6);
lean_dec(x_6);
lean_dec(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = lean_st_ref_get(x_1);
x_4 = lean_ctor_get(x_3, 0);
lean_inc_ref(x_4);
lean_dec(x_3);
x_5 = l_Lean_Environment_header(x_4);
lean_dec_ref(x_4);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("x", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_18; 
x_18 = lean_ctor_get(x_2, 5);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; 
x_19 = l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg(x_3);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_5 = x_20;
x_6 = lean_box(0);
goto block_17;
}
else
{
lean_object* x_21; 
x_21 = lean_ctor_get(x_18, 0);
lean_inc(x_21);
x_5 = x_21;
x_6 = lean_box(0);
goto block_17;
}
block_17:
{
lean_object* x_7; 
x_7 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_2);
lean_dec_ref(x_2);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_addMacroScope(x_5, x_1, x_9);
lean_ctor_set(x_7, 0, x_10);
return x_7;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_dec(x_7);
x_12 = l_Lean_addMacroScope(x_5, x_1, x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
uint8_t x_14; 
lean_dec(x_5);
lean_dec(x_1);
x_14 = !lean_is_exclusive(x_7);
if (x_14 == 0)
{
return x_7;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_7, 0);
lean_inc(x_15);
lean_dec(x_7);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1;
x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___lam__0___boxed), 4, 1);
lean_closure_set(x_5, 0, x_4);
x_6 = l_Lean_Elab_Command_withFreshMacroScope___redArg(x_5, x_1, x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0(x_3, x_4);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = l_Lean_mkIdentFrom(x_1, x_8, x_2);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = l_Lean_mkIdentFrom(x_1, x_10, x_2);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_6);
if (x_13 == 0)
{
return x_6;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_6, 0);
lean_inc(x_14);
lean_dec(x_6);
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclIdent(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_5; 
x_5 = l_Lean_Elab_Command_getRef___redArg(x_2);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
x_7 = 0;
x_8 = l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0(x_6, x_7, x_2, x_3);
lean_dec(x_6);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_9 = !lean_is_exclusive(x_5);
if (x_9 == 0)
{
return x_5;
}
else
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
}
else
{
uint8_t x_12; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_12 = !lean_is_exclusive(x_1);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_1, 0);
x_14 = l_Lake_DSL_expandIdentOrStrAsIdent(x_13);
lean_ctor_set_tag(x_1, 0);
lean_ctor_set(x_1, 0, x_14);
return x_1;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = l_Lake_DSL_expandIdentOrStrAsIdent(x_15);
x_17 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = lean_unbox(x_2);
x_7 = l_Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0(x_1, x_6, x_3, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_getMainModule___at___00Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0_spec__0___redArg(x_1);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclIdent___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_DSL_mkConfigDeclIdent(x_1, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0(x_1, x_2);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declaration", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declModifiers", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("definition", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("def", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declId", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = l_instMonadEST(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_elabConfig___closed__7;
x_2 = l_ReaderT_instMonad___redArg(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadCommandElabM___lam__0___boxed), 5, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadCommandElabM___lam__1___boxed), 7, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(3u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("where", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("whereStructInst", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_elabConfig___closed__13;
x_2 = l_Lake_DSL_simpleDeclSig___closed__6;
x_3 = l_Lake_DSL_expandAttrs___closed__1;
x_4 = l_Lake_DSL_expandAttrs___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM;
x_2 = l_Lean_Elab_Command_instMonadRefCommandElabM;
x_3 = l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ill-formed configuration syntax", 31, 31);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_elabConfig___closed__16;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_191; uint8_t x_192; 
x_191 = l_Lake_DSL_elabConfig___closed__8;
x_192 = !lean_is_exclusive(x_191);
if (x_192 == 0)
{
lean_object* x_193; lean_object* x_194; uint8_t x_195; 
x_193 = lean_ctor_get(x_191, 0);
x_194 = lean_ctor_get(x_191, 1);
lean_dec(x_194);
x_195 = !lean_is_exclusive(x_193);
if (x_195 == 0)
{
lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; 
x_196 = lean_ctor_get(x_193, 0);
x_197 = lean_ctor_get(x_193, 2);
x_198 = lean_ctor_get(x_193, 3);
x_199 = lean_ctor_get(x_193, 4);
x_200 = lean_ctor_get(x_193, 1);
lean_dec(x_200);
x_201 = l_Lake_DSL_elabConfig___closed__9;
x_202 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_196);
x_203 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_203, 0, x_196);
x_204 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_204, 0, x_196);
x_205 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_205, 0, x_203);
lean_ctor_set(x_205, 1, x_204);
x_206 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_206, 0, x_199);
x_207 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_207, 0, x_198);
x_208 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_208, 0, x_197);
lean_ctor_set(x_193, 4, x_206);
lean_ctor_set(x_193, 3, x_207);
lean_ctor_set(x_193, 2, x_208);
lean_ctor_set(x_193, 1, x_201);
lean_ctor_set(x_193, 0, x_205);
lean_ctor_set(x_191, 1, x_202);
x_209 = l_Lake_DSL_optConfig___closed__1;
lean_inc(x_5);
x_210 = l_Lean_Syntax_isOfKind(x_5, x_209);
if (x_210 == 0)
{
lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; 
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_211 = l_Lake_DSL_elabConfig___closed__15;
x_212 = l_Lake_DSL_elabConfig___closed__17;
x_213 = l_Lean_throwErrorAt___redArg(x_191, x_211, x_5, x_212);
x_214 = lean_apply_3(x_213, x_6, x_7, lean_box(0));
return x_214;
}
else
{
lean_object* x_215; lean_object* x_216; uint8_t x_217; 
x_215 = lean_unsigned_to_nat(0u);
x_216 = l_Lean_Syntax_getArg(x_5, x_215);
lean_inc(x_216);
x_217 = l_Lean_Syntax_matchesNull(x_216, x_215);
if (x_217 == 0)
{
lean_object* x_218; uint8_t x_219; 
x_218 = lean_unsigned_to_nat(1u);
lean_inc(x_216);
x_219 = l_Lean_Syntax_matchesNull(x_216, x_218);
if (x_219 == 0)
{
lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; 
lean_dec(x_216);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_220 = l_Lake_DSL_elabConfig___closed__15;
x_221 = l_Lake_DSL_elabConfig___closed__17;
x_222 = l_Lean_throwErrorAt___redArg(x_191, x_220, x_5, x_221);
x_223 = lean_apply_3(x_222, x_6, x_7, lean_box(0));
return x_223;
}
else
{
lean_object* x_224; lean_object* x_225; uint8_t x_226; 
x_224 = l_Lean_Syntax_getArg(x_216, x_215);
lean_dec(x_216);
x_225 = l_Lake_DSL_declValWhere___closed__1;
lean_inc(x_224);
x_226 = l_Lean_Syntax_isOfKind(x_224, x_225);
if (x_226 == 0)
{
lean_object* x_227; uint8_t x_228; 
x_227 = l_Lake_DSL_declValStruct___closed__1;
lean_inc(x_224);
x_228 = l_Lean_Syntax_isOfKind(x_224, x_227);
if (x_228 == 0)
{
lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; 
lean_dec(x_224);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_229 = l_Lake_DSL_elabConfig___closed__15;
x_230 = l_Lake_DSL_elabConfig___closed__17;
x_231 = l_Lean_throwErrorAt___redArg(x_191, x_229, x_5, x_230);
x_232 = lean_apply_3(x_231, x_6, x_7, lean_box(0));
return x_232;
}
else
{
lean_object* x_233; lean_object* x_234; uint8_t x_235; 
x_233 = l_Lean_Syntax_getArg(x_224, x_215);
x_234 = l_Lake_DSL_structVal___closed__1;
lean_inc(x_233);
x_235 = l_Lean_Syntax_isOfKind(x_233, x_234);
if (x_235 == 0)
{
lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; 
lean_dec(x_233);
lean_dec(x_224);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_236 = l_Lake_DSL_elabConfig___closed__15;
x_237 = l_Lake_DSL_elabConfig___closed__17;
x_238 = l_Lean_throwErrorAt___redArg(x_191, x_236, x_5, x_237);
x_239 = lean_apply_3(x_238, x_6, x_7, lean_box(0));
return x_239;
}
else
{
lean_object* x_240; lean_object* x_241; uint8_t x_242; 
x_240 = l_Lean_Syntax_getArg(x_233, x_218);
x_241 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_240);
x_242 = l_Lean_Syntax_isOfKind(x_240, x_241);
if (x_242 == 0)
{
lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; 
lean_dec(x_240);
lean_dec(x_233);
lean_dec(x_224);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_243 = l_Lake_DSL_elabConfig___closed__15;
x_244 = l_Lake_DSL_elabConfig___closed__17;
x_245 = l_Lean_throwErrorAt___redArg(x_191, x_243, x_5, x_244);
x_246 = lean_apply_3(x_245, x_6, x_7, lean_box(0));
return x_246;
}
else
{
lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_257; uint8_t x_258; 
x_247 = l_Lean_Syntax_getArg(x_233, x_215);
lean_dec(x_233);
x_248 = l_Lean_Syntax_getArg(x_240, x_215);
lean_dec(x_240);
x_257 = l_Lean_Syntax_getArg(x_224, x_218);
lean_dec(x_224);
x_258 = l_Lean_Syntax_isNone(x_257);
if (x_258 == 0)
{
uint8_t x_259; 
lean_inc(x_257);
x_259 = l_Lean_Syntax_matchesNull(x_257, x_218);
if (x_259 == 0)
{
lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 
lean_dec(x_257);
lean_dec(x_248);
lean_dec(x_247);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_260 = l_Lake_DSL_elabConfig___closed__15;
x_261 = l_Lake_DSL_elabConfig___closed__17;
x_262 = l_Lean_throwErrorAt___redArg(x_191, x_260, x_5, x_261);
x_263 = lean_apply_3(x_262, x_6, x_7, lean_box(0));
return x_263;
}
else
{
lean_object* x_264; lean_object* x_265; uint8_t x_266; 
x_264 = l_Lean_Syntax_getArg(x_257, x_215);
lean_dec(x_257);
x_265 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_264);
x_266 = l_Lean_Syntax_isOfKind(x_264, x_265);
if (x_266 == 0)
{
lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; 
lean_dec(x_264);
lean_dec(x_248);
lean_dec(x_247);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_267 = l_Lake_DSL_elabConfig___closed__15;
x_268 = l_Lake_DSL_elabConfig___closed__17;
x_269 = l_Lean_throwErrorAt___redArg(x_191, x_267, x_5, x_268);
x_270 = lean_apply_3(x_269, x_6, x_7, lean_box(0));
return x_270;
}
else
{
lean_object* x_271; 
lean_dec_ref(x_191);
x_271 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_271, 0, x_264);
x_249 = x_271;
x_250 = x_6;
x_251 = x_7;
x_252 = lean_box(0);
goto block_256;
}
}
}
else
{
lean_object* x_272; 
lean_dec(x_257);
lean_dec_ref(x_191);
x_272 = lean_box(0);
x_249 = x_272;
x_250 = x_6;
x_251 = x_7;
x_252 = lean_box(0);
goto block_256;
}
block_256:
{
lean_object* x_253; lean_object* x_254; lean_object* x_255; 
x_253 = l_Lean_Syntax_getArgs(x_248);
lean_dec(x_248);
x_254 = l_Lean_Syntax_getHeadInfo(x_247);
lean_dec(x_247);
x_255 = l_Lean_Syntax_TSepArray_getElems___redArg(x_253);
lean_dec_ref(x_253);
x_168 = x_254;
x_169 = x_255;
x_170 = x_249;
x_171 = x_250;
x_172 = x_251;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_273; lean_object* x_274; uint8_t x_275; 
x_273 = l_Lean_Syntax_getArg(x_224, x_218);
x_274 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_273);
x_275 = l_Lean_Syntax_isOfKind(x_273, x_274);
if (x_275 == 0)
{
lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; 
lean_dec(x_273);
lean_dec(x_224);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_276 = l_Lake_DSL_elabConfig___closed__15;
x_277 = l_Lake_DSL_elabConfig___closed__17;
x_278 = l_Lean_throwErrorAt___redArg(x_191, x_276, x_5, x_277);
x_279 = lean_apply_3(x_278, x_6, x_7, lean_box(0));
return x_279;
}
else
{
lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_290; lean_object* x_291; uint8_t x_292; 
x_280 = l_Lean_Syntax_getArg(x_224, x_215);
x_281 = l_Lean_Syntax_getArg(x_273, x_215);
lean_dec(x_273);
x_290 = lean_unsigned_to_nat(2u);
x_291 = l_Lean_Syntax_getArg(x_224, x_290);
lean_dec(x_224);
x_292 = l_Lean_Syntax_isNone(x_291);
if (x_292 == 0)
{
uint8_t x_293; 
lean_inc(x_291);
x_293 = l_Lean_Syntax_matchesNull(x_291, x_218);
if (x_293 == 0)
{
lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; 
lean_dec(x_291);
lean_dec(x_281);
lean_dec(x_280);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_294 = l_Lake_DSL_elabConfig___closed__15;
x_295 = l_Lake_DSL_elabConfig___closed__17;
x_296 = l_Lean_throwErrorAt___redArg(x_191, x_294, x_5, x_295);
x_297 = lean_apply_3(x_296, x_6, x_7, lean_box(0));
return x_297;
}
else
{
lean_object* x_298; lean_object* x_299; uint8_t x_300; 
x_298 = l_Lean_Syntax_getArg(x_291, x_215);
lean_dec(x_291);
x_299 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_298);
x_300 = l_Lean_Syntax_isOfKind(x_298, x_299);
if (x_300 == 0)
{
lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; 
lean_dec(x_298);
lean_dec(x_281);
lean_dec(x_280);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_301 = l_Lake_DSL_elabConfig___closed__15;
x_302 = l_Lake_DSL_elabConfig___closed__17;
x_303 = l_Lean_throwErrorAt___redArg(x_191, x_301, x_5, x_302);
x_304 = lean_apply_3(x_303, x_6, x_7, lean_box(0));
return x_304;
}
else
{
lean_object* x_305; 
lean_dec_ref(x_191);
x_305 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_305, 0, x_298);
x_282 = x_305;
x_283 = x_6;
x_284 = x_7;
x_285 = lean_box(0);
goto block_289;
}
}
}
else
{
lean_object* x_306; 
lean_dec(x_291);
lean_dec_ref(x_191);
x_306 = lean_box(0);
x_282 = x_306;
x_283 = x_6;
x_284 = x_7;
x_285 = lean_box(0);
goto block_289;
}
block_289:
{
lean_object* x_286; lean_object* x_287; lean_object* x_288; 
x_286 = l_Lean_Syntax_getArgs(x_281);
lean_dec(x_281);
x_287 = l_Lean_Syntax_getHeadInfo(x_280);
lean_dec(x_280);
x_288 = l_Lean_Syntax_TSepArray_getElems___redArg(x_286);
lean_dec_ref(x_286);
x_168 = x_287;
x_169 = x_288;
x_170 = x_282;
x_171 = x_283;
x_172 = x_284;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_307; lean_object* x_308; lean_object* x_309; 
lean_dec(x_216);
lean_dec_ref(x_191);
x_307 = lean_box(2);
x_308 = l_Lake_DSL_expandAttrs___closed__5;
x_309 = lean_box(0);
x_168 = x_307;
x_169 = x_308;
x_170 = x_309;
x_171 = x_6;
x_172 = x_7;
x_173 = lean_box(0);
goto block_190;
}
}
}
else
{
lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; 
x_310 = lean_ctor_get(x_193, 0);
x_311 = lean_ctor_get(x_193, 2);
x_312 = lean_ctor_get(x_193, 3);
x_313 = lean_ctor_get(x_193, 4);
lean_inc(x_313);
lean_inc(x_312);
lean_inc(x_311);
lean_inc(x_310);
lean_dec(x_193);
x_314 = l_Lake_DSL_elabConfig___closed__9;
x_315 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_310);
x_316 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_316, 0, x_310);
x_317 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_317, 0, x_310);
x_318 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_318, 0, x_316);
lean_ctor_set(x_318, 1, x_317);
x_319 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_319, 0, x_313);
x_320 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_320, 0, x_312);
x_321 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_321, 0, x_311);
x_322 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_322, 0, x_318);
lean_ctor_set(x_322, 1, x_314);
lean_ctor_set(x_322, 2, x_321);
lean_ctor_set(x_322, 3, x_320);
lean_ctor_set(x_322, 4, x_319);
lean_ctor_set(x_191, 1, x_315);
lean_ctor_set(x_191, 0, x_322);
x_323 = l_Lake_DSL_optConfig___closed__1;
lean_inc(x_5);
x_324 = l_Lean_Syntax_isOfKind(x_5, x_323);
if (x_324 == 0)
{
lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; 
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_325 = l_Lake_DSL_elabConfig___closed__15;
x_326 = l_Lake_DSL_elabConfig___closed__17;
x_327 = l_Lean_throwErrorAt___redArg(x_191, x_325, x_5, x_326);
x_328 = lean_apply_3(x_327, x_6, x_7, lean_box(0));
return x_328;
}
else
{
lean_object* x_329; lean_object* x_330; uint8_t x_331; 
x_329 = lean_unsigned_to_nat(0u);
x_330 = l_Lean_Syntax_getArg(x_5, x_329);
lean_inc(x_330);
x_331 = l_Lean_Syntax_matchesNull(x_330, x_329);
if (x_331 == 0)
{
lean_object* x_332; uint8_t x_333; 
x_332 = lean_unsigned_to_nat(1u);
lean_inc(x_330);
x_333 = l_Lean_Syntax_matchesNull(x_330, x_332);
if (x_333 == 0)
{
lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; 
lean_dec(x_330);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_334 = l_Lake_DSL_elabConfig___closed__15;
x_335 = l_Lake_DSL_elabConfig___closed__17;
x_336 = l_Lean_throwErrorAt___redArg(x_191, x_334, x_5, x_335);
x_337 = lean_apply_3(x_336, x_6, x_7, lean_box(0));
return x_337;
}
else
{
lean_object* x_338; lean_object* x_339; uint8_t x_340; 
x_338 = l_Lean_Syntax_getArg(x_330, x_329);
lean_dec(x_330);
x_339 = l_Lake_DSL_declValWhere___closed__1;
lean_inc(x_338);
x_340 = l_Lean_Syntax_isOfKind(x_338, x_339);
if (x_340 == 0)
{
lean_object* x_341; uint8_t x_342; 
x_341 = l_Lake_DSL_declValStruct___closed__1;
lean_inc(x_338);
x_342 = l_Lean_Syntax_isOfKind(x_338, x_341);
if (x_342 == 0)
{
lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; 
lean_dec(x_338);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_343 = l_Lake_DSL_elabConfig___closed__15;
x_344 = l_Lake_DSL_elabConfig___closed__17;
x_345 = l_Lean_throwErrorAt___redArg(x_191, x_343, x_5, x_344);
x_346 = lean_apply_3(x_345, x_6, x_7, lean_box(0));
return x_346;
}
else
{
lean_object* x_347; lean_object* x_348; uint8_t x_349; 
x_347 = l_Lean_Syntax_getArg(x_338, x_329);
x_348 = l_Lake_DSL_structVal___closed__1;
lean_inc(x_347);
x_349 = l_Lean_Syntax_isOfKind(x_347, x_348);
if (x_349 == 0)
{
lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; 
lean_dec(x_347);
lean_dec(x_338);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_350 = l_Lake_DSL_elabConfig___closed__15;
x_351 = l_Lake_DSL_elabConfig___closed__17;
x_352 = l_Lean_throwErrorAt___redArg(x_191, x_350, x_5, x_351);
x_353 = lean_apply_3(x_352, x_6, x_7, lean_box(0));
return x_353;
}
else
{
lean_object* x_354; lean_object* x_355; uint8_t x_356; 
x_354 = l_Lean_Syntax_getArg(x_347, x_332);
x_355 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_354);
x_356 = l_Lean_Syntax_isOfKind(x_354, x_355);
if (x_356 == 0)
{
lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; 
lean_dec(x_354);
lean_dec(x_347);
lean_dec(x_338);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_357 = l_Lake_DSL_elabConfig___closed__15;
x_358 = l_Lake_DSL_elabConfig___closed__17;
x_359 = l_Lean_throwErrorAt___redArg(x_191, x_357, x_5, x_358);
x_360 = lean_apply_3(x_359, x_6, x_7, lean_box(0));
return x_360;
}
else
{
lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_371; uint8_t x_372; 
x_361 = l_Lean_Syntax_getArg(x_347, x_329);
lean_dec(x_347);
x_362 = l_Lean_Syntax_getArg(x_354, x_329);
lean_dec(x_354);
x_371 = l_Lean_Syntax_getArg(x_338, x_332);
lean_dec(x_338);
x_372 = l_Lean_Syntax_isNone(x_371);
if (x_372 == 0)
{
uint8_t x_373; 
lean_inc(x_371);
x_373 = l_Lean_Syntax_matchesNull(x_371, x_332);
if (x_373 == 0)
{
lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; 
lean_dec(x_371);
lean_dec(x_362);
lean_dec(x_361);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_374 = l_Lake_DSL_elabConfig___closed__15;
x_375 = l_Lake_DSL_elabConfig___closed__17;
x_376 = l_Lean_throwErrorAt___redArg(x_191, x_374, x_5, x_375);
x_377 = lean_apply_3(x_376, x_6, x_7, lean_box(0));
return x_377;
}
else
{
lean_object* x_378; lean_object* x_379; uint8_t x_380; 
x_378 = l_Lean_Syntax_getArg(x_371, x_329);
lean_dec(x_371);
x_379 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_378);
x_380 = l_Lean_Syntax_isOfKind(x_378, x_379);
if (x_380 == 0)
{
lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; 
lean_dec(x_378);
lean_dec(x_362);
lean_dec(x_361);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_381 = l_Lake_DSL_elabConfig___closed__15;
x_382 = l_Lake_DSL_elabConfig___closed__17;
x_383 = l_Lean_throwErrorAt___redArg(x_191, x_381, x_5, x_382);
x_384 = lean_apply_3(x_383, x_6, x_7, lean_box(0));
return x_384;
}
else
{
lean_object* x_385; 
lean_dec_ref(x_191);
x_385 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_385, 0, x_378);
x_363 = x_385;
x_364 = x_6;
x_365 = x_7;
x_366 = lean_box(0);
goto block_370;
}
}
}
else
{
lean_object* x_386; 
lean_dec(x_371);
lean_dec_ref(x_191);
x_386 = lean_box(0);
x_363 = x_386;
x_364 = x_6;
x_365 = x_7;
x_366 = lean_box(0);
goto block_370;
}
block_370:
{
lean_object* x_367; lean_object* x_368; lean_object* x_369; 
x_367 = l_Lean_Syntax_getArgs(x_362);
lean_dec(x_362);
x_368 = l_Lean_Syntax_getHeadInfo(x_361);
lean_dec(x_361);
x_369 = l_Lean_Syntax_TSepArray_getElems___redArg(x_367);
lean_dec_ref(x_367);
x_168 = x_368;
x_169 = x_369;
x_170 = x_363;
x_171 = x_364;
x_172 = x_365;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_387; lean_object* x_388; uint8_t x_389; 
x_387 = l_Lean_Syntax_getArg(x_338, x_332);
x_388 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_387);
x_389 = l_Lean_Syntax_isOfKind(x_387, x_388);
if (x_389 == 0)
{
lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; 
lean_dec(x_387);
lean_dec(x_338);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_390 = l_Lake_DSL_elabConfig___closed__15;
x_391 = l_Lake_DSL_elabConfig___closed__17;
x_392 = l_Lean_throwErrorAt___redArg(x_191, x_390, x_5, x_391);
x_393 = lean_apply_3(x_392, x_6, x_7, lean_box(0));
return x_393;
}
else
{
lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_404; lean_object* x_405; uint8_t x_406; 
x_394 = l_Lean_Syntax_getArg(x_338, x_329);
x_395 = l_Lean_Syntax_getArg(x_387, x_329);
lean_dec(x_387);
x_404 = lean_unsigned_to_nat(2u);
x_405 = l_Lean_Syntax_getArg(x_338, x_404);
lean_dec(x_338);
x_406 = l_Lean_Syntax_isNone(x_405);
if (x_406 == 0)
{
uint8_t x_407; 
lean_inc(x_405);
x_407 = l_Lean_Syntax_matchesNull(x_405, x_332);
if (x_407 == 0)
{
lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; 
lean_dec(x_405);
lean_dec(x_395);
lean_dec(x_394);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_408 = l_Lake_DSL_elabConfig___closed__15;
x_409 = l_Lake_DSL_elabConfig___closed__17;
x_410 = l_Lean_throwErrorAt___redArg(x_191, x_408, x_5, x_409);
x_411 = lean_apply_3(x_410, x_6, x_7, lean_box(0));
return x_411;
}
else
{
lean_object* x_412; lean_object* x_413; uint8_t x_414; 
x_412 = l_Lean_Syntax_getArg(x_405, x_329);
lean_dec(x_405);
x_413 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_412);
x_414 = l_Lean_Syntax_isOfKind(x_412, x_413);
if (x_414 == 0)
{
lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; 
lean_dec(x_412);
lean_dec(x_395);
lean_dec(x_394);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_415 = l_Lake_DSL_elabConfig___closed__15;
x_416 = l_Lake_DSL_elabConfig___closed__17;
x_417 = l_Lean_throwErrorAt___redArg(x_191, x_415, x_5, x_416);
x_418 = lean_apply_3(x_417, x_6, x_7, lean_box(0));
return x_418;
}
else
{
lean_object* x_419; 
lean_dec_ref(x_191);
x_419 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_419, 0, x_412);
x_396 = x_419;
x_397 = x_6;
x_398 = x_7;
x_399 = lean_box(0);
goto block_403;
}
}
}
else
{
lean_object* x_420; 
lean_dec(x_405);
lean_dec_ref(x_191);
x_420 = lean_box(0);
x_396 = x_420;
x_397 = x_6;
x_398 = x_7;
x_399 = lean_box(0);
goto block_403;
}
block_403:
{
lean_object* x_400; lean_object* x_401; lean_object* x_402; 
x_400 = l_Lean_Syntax_getArgs(x_395);
lean_dec(x_395);
x_401 = l_Lean_Syntax_getHeadInfo(x_394);
lean_dec(x_394);
x_402 = l_Lean_Syntax_TSepArray_getElems___redArg(x_400);
lean_dec_ref(x_400);
x_168 = x_401;
x_169 = x_402;
x_170 = x_396;
x_171 = x_397;
x_172 = x_398;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_421; lean_object* x_422; lean_object* x_423; 
lean_dec(x_330);
lean_dec_ref(x_191);
x_421 = lean_box(2);
x_422 = l_Lake_DSL_expandAttrs___closed__5;
x_423 = lean_box(0);
x_168 = x_421;
x_169 = x_422;
x_170 = x_423;
x_171 = x_6;
x_172 = x_7;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
else
{
lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; 
x_424 = lean_ctor_get(x_191, 0);
lean_inc(x_424);
lean_dec(x_191);
x_425 = lean_ctor_get(x_424, 0);
lean_inc_ref(x_425);
x_426 = lean_ctor_get(x_424, 2);
lean_inc(x_426);
x_427 = lean_ctor_get(x_424, 3);
lean_inc(x_427);
x_428 = lean_ctor_get(x_424, 4);
lean_inc(x_428);
if (lean_is_exclusive(x_424)) {
 lean_ctor_release(x_424, 0);
 lean_ctor_release(x_424, 1);
 lean_ctor_release(x_424, 2);
 lean_ctor_release(x_424, 3);
 lean_ctor_release(x_424, 4);
 x_429 = x_424;
} else {
 lean_dec_ref(x_424);
 x_429 = lean_box(0);
}
x_430 = l_Lake_DSL_elabConfig___closed__9;
x_431 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_425);
x_432 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_432, 0, x_425);
x_433 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_433, 0, x_425);
x_434 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_434, 0, x_432);
lean_ctor_set(x_434, 1, x_433);
x_435 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_435, 0, x_428);
x_436 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_436, 0, x_427);
x_437 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_437, 0, x_426);
if (lean_is_scalar(x_429)) {
 x_438 = lean_alloc_ctor(0, 5, 0);
} else {
 x_438 = x_429;
}
lean_ctor_set(x_438, 0, x_434);
lean_ctor_set(x_438, 1, x_430);
lean_ctor_set(x_438, 2, x_437);
lean_ctor_set(x_438, 3, x_436);
lean_ctor_set(x_438, 4, x_435);
x_439 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_439, 0, x_438);
lean_ctor_set(x_439, 1, x_431);
x_440 = l_Lake_DSL_optConfig___closed__1;
lean_inc(x_5);
x_441 = l_Lean_Syntax_isOfKind(x_5, x_440);
if (x_441 == 0)
{
lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; 
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_442 = l_Lake_DSL_elabConfig___closed__15;
x_443 = l_Lake_DSL_elabConfig___closed__17;
x_444 = l_Lean_throwErrorAt___redArg(x_439, x_442, x_5, x_443);
x_445 = lean_apply_3(x_444, x_6, x_7, lean_box(0));
return x_445;
}
else
{
lean_object* x_446; lean_object* x_447; uint8_t x_448; 
x_446 = lean_unsigned_to_nat(0u);
x_447 = l_Lean_Syntax_getArg(x_5, x_446);
lean_inc(x_447);
x_448 = l_Lean_Syntax_matchesNull(x_447, x_446);
if (x_448 == 0)
{
lean_object* x_449; uint8_t x_450; 
x_449 = lean_unsigned_to_nat(1u);
lean_inc(x_447);
x_450 = l_Lean_Syntax_matchesNull(x_447, x_449);
if (x_450 == 0)
{
lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; 
lean_dec(x_447);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_451 = l_Lake_DSL_elabConfig___closed__15;
x_452 = l_Lake_DSL_elabConfig___closed__17;
x_453 = l_Lean_throwErrorAt___redArg(x_439, x_451, x_5, x_452);
x_454 = lean_apply_3(x_453, x_6, x_7, lean_box(0));
return x_454;
}
else
{
lean_object* x_455; lean_object* x_456; uint8_t x_457; 
x_455 = l_Lean_Syntax_getArg(x_447, x_446);
lean_dec(x_447);
x_456 = l_Lake_DSL_declValWhere___closed__1;
lean_inc(x_455);
x_457 = l_Lean_Syntax_isOfKind(x_455, x_456);
if (x_457 == 0)
{
lean_object* x_458; uint8_t x_459; 
x_458 = l_Lake_DSL_declValStruct___closed__1;
lean_inc(x_455);
x_459 = l_Lean_Syntax_isOfKind(x_455, x_458);
if (x_459 == 0)
{
lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; 
lean_dec(x_455);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_460 = l_Lake_DSL_elabConfig___closed__15;
x_461 = l_Lake_DSL_elabConfig___closed__17;
x_462 = l_Lean_throwErrorAt___redArg(x_439, x_460, x_5, x_461);
x_463 = lean_apply_3(x_462, x_6, x_7, lean_box(0));
return x_463;
}
else
{
lean_object* x_464; lean_object* x_465; uint8_t x_466; 
x_464 = l_Lean_Syntax_getArg(x_455, x_446);
x_465 = l_Lake_DSL_structVal___closed__1;
lean_inc(x_464);
x_466 = l_Lean_Syntax_isOfKind(x_464, x_465);
if (x_466 == 0)
{
lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; 
lean_dec(x_464);
lean_dec(x_455);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_467 = l_Lake_DSL_elabConfig___closed__15;
x_468 = l_Lake_DSL_elabConfig___closed__17;
x_469 = l_Lean_throwErrorAt___redArg(x_439, x_467, x_5, x_468);
x_470 = lean_apply_3(x_469, x_6, x_7, lean_box(0));
return x_470;
}
else
{
lean_object* x_471; lean_object* x_472; uint8_t x_473; 
x_471 = l_Lean_Syntax_getArg(x_464, x_449);
x_472 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_471);
x_473 = l_Lean_Syntax_isOfKind(x_471, x_472);
if (x_473 == 0)
{
lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; 
lean_dec(x_471);
lean_dec(x_464);
lean_dec(x_455);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_474 = l_Lake_DSL_elabConfig___closed__15;
x_475 = l_Lake_DSL_elabConfig___closed__17;
x_476 = l_Lean_throwErrorAt___redArg(x_439, x_474, x_5, x_475);
x_477 = lean_apply_3(x_476, x_6, x_7, lean_box(0));
return x_477;
}
else
{
lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_488; uint8_t x_489; 
x_478 = l_Lean_Syntax_getArg(x_464, x_446);
lean_dec(x_464);
x_479 = l_Lean_Syntax_getArg(x_471, x_446);
lean_dec(x_471);
x_488 = l_Lean_Syntax_getArg(x_455, x_449);
lean_dec(x_455);
x_489 = l_Lean_Syntax_isNone(x_488);
if (x_489 == 0)
{
uint8_t x_490; 
lean_inc(x_488);
x_490 = l_Lean_Syntax_matchesNull(x_488, x_449);
if (x_490 == 0)
{
lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; 
lean_dec(x_488);
lean_dec(x_479);
lean_dec(x_478);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_491 = l_Lake_DSL_elabConfig___closed__15;
x_492 = l_Lake_DSL_elabConfig___closed__17;
x_493 = l_Lean_throwErrorAt___redArg(x_439, x_491, x_5, x_492);
x_494 = lean_apply_3(x_493, x_6, x_7, lean_box(0));
return x_494;
}
else
{
lean_object* x_495; lean_object* x_496; uint8_t x_497; 
x_495 = l_Lean_Syntax_getArg(x_488, x_446);
lean_dec(x_488);
x_496 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_495);
x_497 = l_Lean_Syntax_isOfKind(x_495, x_496);
if (x_497 == 0)
{
lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; 
lean_dec(x_495);
lean_dec(x_479);
lean_dec(x_478);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_498 = l_Lake_DSL_elabConfig___closed__15;
x_499 = l_Lake_DSL_elabConfig___closed__17;
x_500 = l_Lean_throwErrorAt___redArg(x_439, x_498, x_5, x_499);
x_501 = lean_apply_3(x_500, x_6, x_7, lean_box(0));
return x_501;
}
else
{
lean_object* x_502; 
lean_dec_ref(x_439);
x_502 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_502, 0, x_495);
x_480 = x_502;
x_481 = x_6;
x_482 = x_7;
x_483 = lean_box(0);
goto block_487;
}
}
}
else
{
lean_object* x_503; 
lean_dec(x_488);
lean_dec_ref(x_439);
x_503 = lean_box(0);
x_480 = x_503;
x_481 = x_6;
x_482 = x_7;
x_483 = lean_box(0);
goto block_487;
}
block_487:
{
lean_object* x_484; lean_object* x_485; lean_object* x_486; 
x_484 = l_Lean_Syntax_getArgs(x_479);
lean_dec(x_479);
x_485 = l_Lean_Syntax_getHeadInfo(x_478);
lean_dec(x_478);
x_486 = l_Lean_Syntax_TSepArray_getElems___redArg(x_484);
lean_dec_ref(x_484);
x_168 = x_485;
x_169 = x_486;
x_170 = x_480;
x_171 = x_481;
x_172 = x_482;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_504; lean_object* x_505; uint8_t x_506; 
x_504 = l_Lean_Syntax_getArg(x_455, x_449);
x_505 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0;
lean_inc(x_504);
x_506 = l_Lean_Syntax_isOfKind(x_504, x_505);
if (x_506 == 0)
{
lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; 
lean_dec(x_504);
lean_dec(x_455);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_507 = l_Lake_DSL_elabConfig___closed__15;
x_508 = l_Lake_DSL_elabConfig___closed__17;
x_509 = l_Lean_throwErrorAt___redArg(x_439, x_507, x_5, x_508);
x_510 = lean_apply_3(x_509, x_6, x_7, lean_box(0));
return x_510;
}
else
{
lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_521; lean_object* x_522; uint8_t x_523; 
x_511 = l_Lean_Syntax_getArg(x_455, x_446);
x_512 = l_Lean_Syntax_getArg(x_504, x_446);
lean_dec(x_504);
x_521 = lean_unsigned_to_nat(2u);
x_522 = l_Lean_Syntax_getArg(x_455, x_521);
lean_dec(x_455);
x_523 = l_Lean_Syntax_isNone(x_522);
if (x_523 == 0)
{
uint8_t x_524; 
lean_inc(x_522);
x_524 = l_Lean_Syntax_matchesNull(x_522, x_449);
if (x_524 == 0)
{
lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; 
lean_dec(x_522);
lean_dec(x_512);
lean_dec(x_511);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_525 = l_Lake_DSL_elabConfig___closed__15;
x_526 = l_Lake_DSL_elabConfig___closed__17;
x_527 = l_Lean_throwErrorAt___redArg(x_439, x_525, x_5, x_526);
x_528 = lean_apply_3(x_527, x_6, x_7, lean_box(0));
return x_528;
}
else
{
lean_object* x_529; lean_object* x_530; uint8_t x_531; 
x_529 = l_Lean_Syntax_getArg(x_522, x_446);
lean_dec(x_522);
x_530 = l_Lake_DSL_declValDo___closed__12;
lean_inc(x_529);
x_531 = l_Lean_Syntax_isOfKind(x_529, x_530);
if (x_531 == 0)
{
lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; 
lean_dec(x_529);
lean_dec(x_512);
lean_dec(x_511);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_532 = l_Lake_DSL_elabConfig___closed__15;
x_533 = l_Lake_DSL_elabConfig___closed__17;
x_534 = l_Lean_throwErrorAt___redArg(x_439, x_532, x_5, x_533);
x_535 = lean_apply_3(x_534, x_6, x_7, lean_box(0));
return x_535;
}
else
{
lean_object* x_536; 
lean_dec_ref(x_439);
x_536 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_536, 0, x_529);
x_513 = x_536;
x_514 = x_6;
x_515 = x_7;
x_516 = lean_box(0);
goto block_520;
}
}
}
else
{
lean_object* x_537; 
lean_dec(x_522);
lean_dec_ref(x_439);
x_537 = lean_box(0);
x_513 = x_537;
x_514 = x_6;
x_515 = x_7;
x_516 = lean_box(0);
goto block_520;
}
block_520:
{
lean_object* x_517; lean_object* x_518; lean_object* x_519; 
x_517 = l_Lean_Syntax_getArgs(x_512);
lean_dec(x_512);
x_518 = l_Lean_Syntax_getHeadInfo(x_511);
lean_dec(x_511);
x_519 = l_Lean_Syntax_TSepArray_getElems___redArg(x_517);
lean_dec_ref(x_517);
x_168 = x_518;
x_169 = x_519;
x_170 = x_513;
x_171 = x_514;
x_172 = x_515;
x_173 = lean_box(0);
goto block_190;
}
}
}
}
}
else
{
lean_object* x_538; lean_object* x_539; lean_object* x_540; 
lean_dec(x_447);
lean_dec_ref(x_439);
x_538 = lean_box(2);
x_539 = l_Lake_DSL_expandAttrs___closed__5;
x_540 = lean_box(0);
x_168 = x_538;
x_169 = x_539;
x_170 = x_540;
x_171 = x_6;
x_172 = x_7;
x_173 = lean_box(0);
goto block_190;
}
}
}
block_52:
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_18 = l_Lake_DSL_elabConfig___closed__0;
lean_inc_ref(x_10);
lean_inc_ref(x_13);
lean_inc_ref(x_16);
x_19 = l_Lean_Name_mkStr4(x_16, x_13, x_10, x_18);
x_20 = l_Lake_DSL_elabConfig___closed__1;
lean_inc_ref(x_10);
lean_inc_ref(x_13);
lean_inc_ref(x_16);
x_21 = l_Lean_Name_mkStr4(x_16, x_13, x_10, x_20);
x_22 = l_Lake_DSL_expandOptSimpleBinder___closed__28;
x_23 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5;
lean_inc(x_11);
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_11);
lean_ctor_set(x_24, 1, x_22);
lean_ctor_set(x_24, 2, x_23);
lean_inc_ref_n(x_24, 7);
lean_inc(x_11);
x_25 = l_Lean_Syntax_node7(x_11, x_21, x_24, x_24, x_24, x_24, x_24, x_24, x_24);
x_26 = l_Lake_DSL_elabConfig___closed__2;
lean_inc_ref(x_10);
lean_inc_ref(x_13);
lean_inc_ref(x_16);
x_27 = l_Lean_Name_mkStr4(x_16, x_13, x_10, x_26);
x_28 = l_Lake_DSL_elabConfig___closed__3;
lean_inc(x_11);
x_29 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_29, 0, x_11);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lake_DSL_elabConfig___closed__4;
lean_inc_ref(x_10);
lean_inc_ref(x_13);
lean_inc_ref(x_16);
x_31 = l_Lean_Name_mkStr4(x_16, x_13, x_10, x_30);
x_32 = l_Lake_DSL_expandAttrs___closed__5;
lean_inc(x_15);
x_33 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_33, 0, x_15);
lean_ctor_set(x_33, 1, x_22);
lean_ctor_set(x_33, 2, x_32);
x_34 = l_Lake_DSL_elabConfig___closed__5;
x_35 = lean_array_push(x_34, x_3);
x_36 = lean_array_push(x_35, x_33);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_15);
lean_ctor_set(x_37, 1, x_31);
lean_ctor_set(x_37, 2, x_36);
x_38 = l_Lake_DSL_elabConfig___closed__6;
lean_inc_ref(x_13);
lean_inc_ref(x_16);
x_39 = l_Lean_Name_mkStr4(x_16, x_13, x_10, x_38);
x_40 = l_Lake_DSL_expandAttrs___closed__2;
x_41 = l_Lake_DSL_simpleDeclSig___closed__2;
x_42 = l_Lean_Name_mkStr4(x_16, x_13, x_40, x_41);
x_43 = l_Lake_DSL_expandOptSimpleBinder___closed__26;
lean_inc(x_11);
x_44 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_44, 0, x_11);
lean_ctor_set(x_44, 1, x_43);
lean_inc(x_11);
x_45 = l_Lean_Syntax_node2(x_11, x_42, x_44, x_4);
lean_inc(x_11);
x_46 = l_Lean_Syntax_node1(x_11, x_22, x_45);
lean_inc_ref(x_24);
lean_inc(x_11);
x_47 = l_Lean_Syntax_node2(x_11, x_39, x_24, x_46);
lean_inc(x_11);
x_48 = l_Lean_Syntax_node5(x_11, x_27, x_29, x_37, x_47, x_12, x_24);
x_49 = l_Lean_Syntax_node2(x_11, x_19, x_25, x_48);
lean_inc(x_49);
x_50 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___boxed), 4, 1);
lean_closure_set(x_50, 0, x_49);
x_51 = l_Lean_Elab_Command_withMacroExpansion___redArg(x_5, x_49, x_50, x_14, x_9);
return x_51;
}
block_167:
{
lean_object* x_63; 
x_63 = l_Lean_Elab_Command_getRef___redArg(x_59);
if (lean_obj_tag(x_63) == 0)
{
lean_object* x_64; lean_object* x_65; 
x_64 = lean_ctor_get(x_63, 0);
lean_inc(x_64);
lean_dec_ref(x_63);
x_65 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_59);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; uint8_t x_67; 
lean_dec_ref(x_65);
x_66 = l_Lake_DSL_elabConfig___closed__8;
x_67 = !lean_is_exclusive(x_66);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_66, 0);
x_69 = lean_ctor_get(x_66, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_68);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; 
x_71 = lean_ctor_get(x_68, 0);
x_72 = lean_ctor_get(x_68, 2);
x_73 = lean_ctor_get(x_68, 3);
x_74 = lean_ctor_get(x_68, 4);
x_75 = lean_ctor_get(x_68, 1);
lean_dec(x_75);
x_76 = l_Lake_DSL_elabConfig___closed__9;
x_77 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_71);
x_78 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_78, 0, x_71);
x_79 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_79, 0, x_71);
x_80 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_80, 0, x_78);
lean_ctor_set(x_80, 1, x_79);
x_81 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_81, 0, x_74);
x_82 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_82, 0, x_73);
x_83 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_83, 0, x_72);
lean_ctor_set(x_68, 4, x_81);
lean_ctor_set(x_68, 3, x_82);
lean_ctor_set(x_68, 2, x_83);
lean_ctor_set(x_68, 1, x_76);
lean_ctor_set(x_68, 0, x_80);
lean_ctor_set(x_66, 1, x_77);
x_84 = l_Lean_Elab_Command_instMonadEnvCommandElabM;
x_85 = lean_ctor_get(x_59, 5);
x_86 = l_Lean_mkOptionalNode(x_62);
x_87 = l_Lake_DSL_elabConfig___closed__11;
x_88 = lean_array_push(x_87, x_55);
x_89 = lean_array_push(x_88, x_58);
x_90 = lean_array_push(x_89, x_86);
x_91 = lean_box(2);
x_92 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_61);
lean_ctor_set(x_92, 2, x_90);
x_93 = 0;
x_94 = l_Lean_SourceInfo_fromRef(x_64, x_93);
lean_dec(x_64);
if (lean_obj_tag(x_85) == 0)
{
lean_object* x_95; lean_object* x_96; 
x_95 = l_Lean_getMainModule___redArg(x_66, x_84);
lean_inc(x_53);
lean_inc_ref(x_59);
x_96 = lean_apply_3(x_95, x_59, x_53, lean_box(0));
if (lean_obj_tag(x_96) == 0)
{
lean_dec_ref(x_96);
x_9 = x_53;
x_10 = x_54;
x_11 = x_94;
x_12 = x_92;
x_13 = x_57;
x_14 = x_59;
x_15 = x_91;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
else
{
uint8_t x_97; 
lean_dec(x_94);
lean_dec_ref(x_92);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec_ref(x_57);
lean_dec_ref(x_54);
lean_dec(x_53);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_97 = !lean_is_exclusive(x_96);
if (x_97 == 0)
{
return x_96;
}
else
{
lean_object* x_98; lean_object* x_99; 
x_98 = lean_ctor_get(x_96, 0);
lean_inc(x_98);
lean_dec(x_96);
x_99 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_99, 0, x_98);
return x_99;
}
}
}
else
{
lean_dec_ref(x_66);
x_9 = x_53;
x_10 = x_54;
x_11 = x_94;
x_12 = x_92;
x_13 = x_57;
x_14 = x_59;
x_15 = x_91;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
}
else
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; 
x_100 = lean_ctor_get(x_68, 0);
x_101 = lean_ctor_get(x_68, 2);
x_102 = lean_ctor_get(x_68, 3);
x_103 = lean_ctor_get(x_68, 4);
lean_inc(x_103);
lean_inc(x_102);
lean_inc(x_101);
lean_inc(x_100);
lean_dec(x_68);
x_104 = l_Lake_DSL_elabConfig___closed__9;
x_105 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_100);
x_106 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_106, 0, x_100);
x_107 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_107, 0, x_100);
x_108 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_108, 0, x_106);
lean_ctor_set(x_108, 1, x_107);
x_109 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_109, 0, x_103);
x_110 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_110, 0, x_102);
x_111 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_111, 0, x_101);
x_112 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_112, 0, x_108);
lean_ctor_set(x_112, 1, x_104);
lean_ctor_set(x_112, 2, x_111);
lean_ctor_set(x_112, 3, x_110);
lean_ctor_set(x_112, 4, x_109);
lean_ctor_set(x_66, 1, x_105);
lean_ctor_set(x_66, 0, x_112);
x_113 = l_Lean_Elab_Command_instMonadEnvCommandElabM;
x_114 = lean_ctor_get(x_59, 5);
x_115 = l_Lean_mkOptionalNode(x_62);
x_116 = l_Lake_DSL_elabConfig___closed__11;
x_117 = lean_array_push(x_116, x_55);
x_118 = lean_array_push(x_117, x_58);
x_119 = lean_array_push(x_118, x_115);
x_120 = lean_box(2);
x_121 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_121, 0, x_120);
lean_ctor_set(x_121, 1, x_61);
lean_ctor_set(x_121, 2, x_119);
x_122 = 0;
x_123 = l_Lean_SourceInfo_fromRef(x_64, x_122);
lean_dec(x_64);
if (lean_obj_tag(x_114) == 0)
{
lean_object* x_124; lean_object* x_125; 
x_124 = l_Lean_getMainModule___redArg(x_66, x_113);
lean_inc(x_53);
lean_inc_ref(x_59);
x_125 = lean_apply_3(x_124, x_59, x_53, lean_box(0));
if (lean_obj_tag(x_125) == 0)
{
lean_dec_ref(x_125);
x_9 = x_53;
x_10 = x_54;
x_11 = x_123;
x_12 = x_121;
x_13 = x_57;
x_14 = x_59;
x_15 = x_120;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
else
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; 
lean_dec(x_123);
lean_dec_ref(x_121);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec_ref(x_57);
lean_dec_ref(x_54);
lean_dec(x_53);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_126 = lean_ctor_get(x_125, 0);
lean_inc(x_126);
if (lean_is_exclusive(x_125)) {
 lean_ctor_release(x_125, 0);
 x_127 = x_125;
} else {
 lean_dec_ref(x_125);
 x_127 = lean_box(0);
}
if (lean_is_scalar(x_127)) {
 x_128 = lean_alloc_ctor(1, 1, 0);
} else {
 x_128 = x_127;
}
lean_ctor_set(x_128, 0, x_126);
return x_128;
}
}
else
{
lean_dec_ref(x_66);
x_9 = x_53;
x_10 = x_54;
x_11 = x_123;
x_12 = x_121;
x_13 = x_57;
x_14 = x_59;
x_15 = x_120;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
}
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; 
x_129 = lean_ctor_get(x_66, 0);
lean_inc(x_129);
lean_dec(x_66);
x_130 = lean_ctor_get(x_129, 0);
lean_inc_ref(x_130);
x_131 = lean_ctor_get(x_129, 2);
lean_inc(x_131);
x_132 = lean_ctor_get(x_129, 3);
lean_inc(x_132);
x_133 = lean_ctor_get(x_129, 4);
lean_inc(x_133);
if (lean_is_exclusive(x_129)) {
 lean_ctor_release(x_129, 0);
 lean_ctor_release(x_129, 1);
 lean_ctor_release(x_129, 2);
 lean_ctor_release(x_129, 3);
 lean_ctor_release(x_129, 4);
 x_134 = x_129;
} else {
 lean_dec_ref(x_129);
 x_134 = lean_box(0);
}
x_135 = l_Lake_DSL_elabConfig___closed__9;
x_136 = l_Lake_DSL_elabConfig___closed__10;
lean_inc_ref(x_130);
x_137 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_137, 0, x_130);
x_138 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_138, 0, x_130);
x_139 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_139, 0, x_137);
lean_ctor_set(x_139, 1, x_138);
x_140 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_140, 0, x_133);
x_141 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_141, 0, x_132);
x_142 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_142, 0, x_131);
if (lean_is_scalar(x_134)) {
 x_143 = lean_alloc_ctor(0, 5, 0);
} else {
 x_143 = x_134;
}
lean_ctor_set(x_143, 0, x_139);
lean_ctor_set(x_143, 1, x_135);
lean_ctor_set(x_143, 2, x_142);
lean_ctor_set(x_143, 3, x_141);
lean_ctor_set(x_143, 4, x_140);
x_144 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_144, 0, x_143);
lean_ctor_set(x_144, 1, x_136);
x_145 = l_Lean_Elab_Command_instMonadEnvCommandElabM;
x_146 = lean_ctor_get(x_59, 5);
x_147 = l_Lean_mkOptionalNode(x_62);
x_148 = l_Lake_DSL_elabConfig___closed__11;
x_149 = lean_array_push(x_148, x_55);
x_150 = lean_array_push(x_149, x_58);
x_151 = lean_array_push(x_150, x_147);
x_152 = lean_box(2);
x_153 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_153, 0, x_152);
lean_ctor_set(x_153, 1, x_61);
lean_ctor_set(x_153, 2, x_151);
x_154 = 0;
x_155 = l_Lean_SourceInfo_fromRef(x_64, x_154);
lean_dec(x_64);
if (lean_obj_tag(x_146) == 0)
{
lean_object* x_156; lean_object* x_157; 
x_156 = l_Lean_getMainModule___redArg(x_144, x_145);
lean_inc(x_53);
lean_inc_ref(x_59);
x_157 = lean_apply_3(x_156, x_59, x_53, lean_box(0));
if (lean_obj_tag(x_157) == 0)
{
lean_dec_ref(x_157);
x_9 = x_53;
x_10 = x_54;
x_11 = x_155;
x_12 = x_153;
x_13 = x_57;
x_14 = x_59;
x_15 = x_152;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
else
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; 
lean_dec(x_155);
lean_dec_ref(x_153);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec_ref(x_57);
lean_dec_ref(x_54);
lean_dec(x_53);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_158 = lean_ctor_get(x_157, 0);
lean_inc(x_158);
if (lean_is_exclusive(x_157)) {
 lean_ctor_release(x_157, 0);
 x_159 = x_157;
} else {
 lean_dec_ref(x_157);
 x_159 = lean_box(0);
}
if (lean_is_scalar(x_159)) {
 x_160 = lean_alloc_ctor(1, 1, 0);
} else {
 x_160 = x_159;
}
lean_ctor_set(x_160, 0, x_158);
return x_160;
}
}
else
{
lean_dec_ref(x_144);
x_9 = x_53;
x_10 = x_54;
x_11 = x_155;
x_12 = x_153;
x_13 = x_57;
x_14 = x_59;
x_15 = x_152;
x_16 = x_60;
x_17 = lean_box(0);
goto block_52;
}
}
}
else
{
uint8_t x_161; 
lean_dec(x_64);
lean_dec(x_62);
lean_dec(x_61);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec(x_58);
lean_dec_ref(x_57);
lean_dec(x_55);
lean_dec_ref(x_54);
lean_dec(x_53);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_161 = !lean_is_exclusive(x_65);
if (x_161 == 0)
{
return x_65;
}
else
{
lean_object* x_162; lean_object* x_163; 
x_162 = lean_ctor_get(x_65, 0);
lean_inc(x_162);
lean_dec(x_65);
x_163 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_163, 0, x_162);
return x_163;
}
}
}
else
{
uint8_t x_164; 
lean_dec(x_62);
lean_dec(x_61);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec(x_58);
lean_dec_ref(x_57);
lean_dec(x_55);
lean_dec_ref(x_54);
lean_dec(x_53);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_164 = !lean_is_exclusive(x_63);
if (x_164 == 0)
{
return x_63;
}
else
{
lean_object* x_165; lean_object* x_166; 
x_165 = lean_ctor_get(x_63, 0);
lean_inc(x_165);
lean_dec(x_63);
x_166 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_166, 0, x_165);
return x_166;
}
}
}
block_190:
{
lean_object* x_174; lean_object* x_175; 
x_174 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_171);
x_175 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(x_1, x_174, x_169, x_171, x_172);
lean_dec_ref(x_169);
if (lean_obj_tag(x_175) == 0)
{
lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; 
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
lean_dec_ref(x_175);
x_177 = l_Lake_DSL_elabConfig___closed__12;
x_178 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_178, 0, x_168);
lean_ctor_set(x_178, 1, x_177);
x_179 = l_Lake_DSL_expandAttrs___closed__0;
x_180 = l_Lake_DSL_expandAttrs___closed__1;
x_181 = l_Lake_DSL_simpleDeclSig___closed__6;
x_182 = l_Lake_DSL_elabConfig___closed__14;
if (lean_obj_tag(x_170) == 0)
{
lean_object* x_183; 
x_183 = lean_box(0);
x_53 = x_172;
x_54 = x_181;
x_55 = x_178;
x_56 = lean_box(0);
x_57 = x_180;
x_58 = x_176;
x_59 = x_171;
x_60 = x_179;
x_61 = x_182;
x_62 = x_183;
goto block_167;
}
else
{
uint8_t x_184; 
x_184 = !lean_is_exclusive(x_170);
if (x_184 == 0)
{
x_53 = x_172;
x_54 = x_181;
x_55 = x_178;
x_56 = lean_box(0);
x_57 = x_180;
x_58 = x_176;
x_59 = x_171;
x_60 = x_179;
x_61 = x_182;
x_62 = x_170;
goto block_167;
}
else
{
lean_object* x_185; lean_object* x_186; 
x_185 = lean_ctor_get(x_170, 0);
lean_inc(x_185);
lean_dec(x_170);
x_186 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_186, 0, x_185);
x_53 = x_172;
x_54 = x_181;
x_55 = x_178;
x_56 = lean_box(0);
x_57 = x_180;
x_58 = x_176;
x_59 = x_171;
x_60 = x_179;
x_61 = x_182;
x_62 = x_186;
goto block_167;
}
}
}
else
{
uint8_t x_187; 
lean_dec(x_172);
lean_dec_ref(x_171);
lean_dec(x_170);
lean_dec(x_168);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_187 = !lean_is_exclusive(x_175);
if (x_187 == 0)
{
return x_175;
}
else
{
lean_object* x_188; lean_object* x_189; 
x_188 = lean_ctor_get(x_175, 0);
lean_inc(x_188);
lean_dec(x_175);
x_189 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_189, 0, x_188);
return x_189;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lake_DSL_elabConfig(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec_ref(x_2);
return x_9;
}
}
lean_object* initialize_Lake_Util_Binder(uint8_t builtin);
lean_object* initialize_Lake_Config_MetaClasses(uint8_t builtin);
lean_object* initialize_Lean_Elab_Command(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lake_Util_Binder(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_MetaClasses(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_Command(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lake_DSL_packageDeclName___closed__0 = _init_l_Lake_DSL_packageDeclName___closed__0();
lean_mark_persistent(l_Lake_DSL_packageDeclName___closed__0);
l_Lake_DSL_packageDeclName___closed__1 = _init_l_Lake_DSL_packageDeclName___closed__1();
lean_mark_persistent(l_Lake_DSL_packageDeclName___closed__1);
l_Lake_DSL_packageDeclName = _init_l_Lake_DSL_packageDeclName();
lean_mark_persistent(l_Lake_DSL_packageDeclName);
l_Lake_DSL_expandAttrs___closed__0 = _init_l_Lake_DSL_expandAttrs___closed__0();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__0);
l_Lake_DSL_expandAttrs___closed__1 = _init_l_Lake_DSL_expandAttrs___closed__1();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__1);
l_Lake_DSL_expandAttrs___closed__2 = _init_l_Lake_DSL_expandAttrs___closed__2();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__2);
l_Lake_DSL_expandAttrs___closed__3 = _init_l_Lake_DSL_expandAttrs___closed__3();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__3);
l_Lake_DSL_expandAttrs___closed__4 = _init_l_Lake_DSL_expandAttrs___closed__4();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__4);
l_Lake_DSL_expandAttrs___closed__5 = _init_l_Lake_DSL_expandAttrs___closed__5();
lean_mark_persistent(l_Lake_DSL_expandAttrs___closed__5);
l_Lake_DSL_identOrStr___closed__0 = _init_l_Lake_DSL_identOrStr___closed__0();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__0);
l_Lake_DSL_identOrStr___closed__1 = _init_l_Lake_DSL_identOrStr___closed__1();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__1);
l_Lake_DSL_identOrStr___closed__2 = _init_l_Lake_DSL_identOrStr___closed__2();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__2);
l_Lake_DSL_identOrStr___closed__3 = _init_l_Lake_DSL_identOrStr___closed__3();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__3);
l_Lake_DSL_identOrStr___closed__4 = _init_l_Lake_DSL_identOrStr___closed__4();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__4);
l_Lake_DSL_identOrStr___closed__5 = _init_l_Lake_DSL_identOrStr___closed__5();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__5);
l_Lake_DSL_identOrStr___closed__6 = _init_l_Lake_DSL_identOrStr___closed__6();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__6);
l_Lake_DSL_identOrStr___closed__7 = _init_l_Lake_DSL_identOrStr___closed__7();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__7);
l_Lake_DSL_identOrStr___closed__8 = _init_l_Lake_DSL_identOrStr___closed__8();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__8);
l_Lake_DSL_identOrStr___closed__9 = _init_l_Lake_DSL_identOrStr___closed__9();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__9);
l_Lake_DSL_identOrStr___closed__10 = _init_l_Lake_DSL_identOrStr___closed__10();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__10);
l_Lake_DSL_identOrStr___closed__11 = _init_l_Lake_DSL_identOrStr___closed__11();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__11);
l_Lake_DSL_identOrStr___closed__12 = _init_l_Lake_DSL_identOrStr___closed__12();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__12);
l_Lake_DSL_identOrStr___closed__13 = _init_l_Lake_DSL_identOrStr___closed__13();
lean_mark_persistent(l_Lake_DSL_identOrStr___closed__13);
l_Lake_DSL_identOrStr = _init_l_Lake_DSL_identOrStr();
lean_mark_persistent(l_Lake_DSL_identOrStr);
l_Lake_DSL_declField___closed__0 = _init_l_Lake_DSL_declField___closed__0();
lean_mark_persistent(l_Lake_DSL_declField___closed__0);
l_Lake_DSL_declField___closed__1 = _init_l_Lake_DSL_declField___closed__1();
lean_mark_persistent(l_Lake_DSL_declField___closed__1);
l_Lake_DSL_declField___closed__2 = _init_l_Lake_DSL_declField___closed__2();
lean_mark_persistent(l_Lake_DSL_declField___closed__2);
l_Lake_DSL_declField___closed__3 = _init_l_Lake_DSL_declField___closed__3();
lean_mark_persistent(l_Lake_DSL_declField___closed__3);
l_Lake_DSL_declField___closed__4 = _init_l_Lake_DSL_declField___closed__4();
lean_mark_persistent(l_Lake_DSL_declField___closed__4);
l_Lake_DSL_declField___closed__5 = _init_l_Lake_DSL_declField___closed__5();
lean_mark_persistent(l_Lake_DSL_declField___closed__5);
l_Lake_DSL_declField___closed__6 = _init_l_Lake_DSL_declField___closed__6();
lean_mark_persistent(l_Lake_DSL_declField___closed__6);
l_Lake_DSL_declField___closed__7 = _init_l_Lake_DSL_declField___closed__7();
lean_mark_persistent(l_Lake_DSL_declField___closed__7);
l_Lake_DSL_declField___closed__8 = _init_l_Lake_DSL_declField___closed__8();
lean_mark_persistent(l_Lake_DSL_declField___closed__8);
l_Lake_DSL_declField___closed__9 = _init_l_Lake_DSL_declField___closed__9();
lean_mark_persistent(l_Lake_DSL_declField___closed__9);
l_Lake_DSL_declField___closed__10 = _init_l_Lake_DSL_declField___closed__10();
lean_mark_persistent(l_Lake_DSL_declField___closed__10);
l_Lake_DSL_declField___closed__11 = _init_l_Lake_DSL_declField___closed__11();
lean_mark_persistent(l_Lake_DSL_declField___closed__11);
l_Lake_DSL_declField = _init_l_Lake_DSL_declField();
lean_mark_persistent(l_Lake_DSL_declField);
l_Lake_DSL_structVal___closed__0 = _init_l_Lake_DSL_structVal___closed__0();
lean_mark_persistent(l_Lake_DSL_structVal___closed__0);
l_Lake_DSL_structVal___closed__1 = _init_l_Lake_DSL_structVal___closed__1();
lean_mark_persistent(l_Lake_DSL_structVal___closed__1);
l_Lake_DSL_structVal___closed__2 = _init_l_Lake_DSL_structVal___closed__2();
lean_mark_persistent(l_Lake_DSL_structVal___closed__2);
l_Lake_DSL_structVal___closed__3 = _init_l_Lake_DSL_structVal___closed__3();
lean_mark_persistent(l_Lake_DSL_structVal___closed__3);
l_Lake_DSL_structVal___closed__4 = _init_l_Lake_DSL_structVal___closed__4();
lean_mark_persistent(l_Lake_DSL_structVal___closed__4);
l_Lake_DSL_structVal___closed__5 = _init_l_Lake_DSL_structVal___closed__5();
lean_mark_persistent(l_Lake_DSL_structVal___closed__5);
l_Lake_DSL_structVal___closed__6 = _init_l_Lake_DSL_structVal___closed__6();
lean_mark_persistent(l_Lake_DSL_structVal___closed__6);
l_Lake_DSL_structVal___closed__7 = _init_l_Lake_DSL_structVal___closed__7();
lean_mark_persistent(l_Lake_DSL_structVal___closed__7);
l_Lake_DSL_structVal___closed__8 = _init_l_Lake_DSL_structVal___closed__8();
lean_mark_persistent(l_Lake_DSL_structVal___closed__8);
l_Lake_DSL_structVal___closed__9 = _init_l_Lake_DSL_structVal___closed__9();
lean_mark_persistent(l_Lake_DSL_structVal___closed__9);
l_Lake_DSL_structVal___closed__10 = _init_l_Lake_DSL_structVal___closed__10();
lean_mark_persistent(l_Lake_DSL_structVal___closed__10);
l_Lake_DSL_structVal___closed__11 = _init_l_Lake_DSL_structVal___closed__11();
lean_mark_persistent(l_Lake_DSL_structVal___closed__11);
l_Lake_DSL_structVal___closed__12 = _init_l_Lake_DSL_structVal___closed__12();
lean_mark_persistent(l_Lake_DSL_structVal___closed__12);
l_Lake_DSL_structVal___closed__13 = _init_l_Lake_DSL_structVal___closed__13();
lean_mark_persistent(l_Lake_DSL_structVal___closed__13);
l_Lake_DSL_structVal___closed__14 = _init_l_Lake_DSL_structVal___closed__14();
lean_mark_persistent(l_Lake_DSL_structVal___closed__14);
l_Lake_DSL_structVal = _init_l_Lake_DSL_structVal();
lean_mark_persistent(l_Lake_DSL_structVal);
l_Lake_DSL_declValDo___closed__0 = _init_l_Lake_DSL_declValDo___closed__0();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__0);
l_Lake_DSL_declValDo___closed__1 = _init_l_Lake_DSL_declValDo___closed__1();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__1);
l_Lake_DSL_declValDo___closed__2 = _init_l_Lake_DSL_declValDo___closed__2();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__2);
l_Lake_DSL_declValDo___closed__3 = _init_l_Lake_DSL_declValDo___closed__3();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__3);
l_Lake_DSL_declValDo___closed__4 = _init_l_Lake_DSL_declValDo___closed__4();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__4);
l_Lake_DSL_declValDo___closed__5 = _init_l_Lake_DSL_declValDo___closed__5();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__5);
l_Lake_DSL_declValDo___closed__6 = _init_l_Lake_DSL_declValDo___closed__6();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__6);
l_Lake_DSL_declValDo___closed__7 = _init_l_Lake_DSL_declValDo___closed__7();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__7);
l_Lake_DSL_declValDo___closed__8 = _init_l_Lake_DSL_declValDo___closed__8();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__8);
l_Lake_DSL_declValDo___closed__9 = _init_l_Lake_DSL_declValDo___closed__9();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__9);
l_Lake_DSL_declValDo___closed__10 = _init_l_Lake_DSL_declValDo___closed__10();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__10);
l_Lake_DSL_declValDo___closed__11 = _init_l_Lake_DSL_declValDo___closed__11();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__11);
l_Lake_DSL_declValDo___closed__12 = _init_l_Lake_DSL_declValDo___closed__12();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__12);
l_Lake_DSL_declValDo___closed__13 = _init_l_Lake_DSL_declValDo___closed__13();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__13);
l_Lake_DSL_declValDo___closed__14 = _init_l_Lake_DSL_declValDo___closed__14();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__14);
l_Lake_DSL_declValDo___closed__15 = _init_l_Lake_DSL_declValDo___closed__15();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__15);
l_Lake_DSL_declValDo___closed__16 = _init_l_Lake_DSL_declValDo___closed__16();
lean_mark_persistent(l_Lake_DSL_declValDo___closed__16);
l_Lake_DSL_declValDo = _init_l_Lake_DSL_declValDo();
lean_mark_persistent(l_Lake_DSL_declValDo);
l_Lake_DSL_declValStruct___closed__0 = _init_l_Lake_DSL_declValStruct___closed__0();
lean_mark_persistent(l_Lake_DSL_declValStruct___closed__0);
l_Lake_DSL_declValStruct___closed__1 = _init_l_Lake_DSL_declValStruct___closed__1();
lean_mark_persistent(l_Lake_DSL_declValStruct___closed__1);
l_Lake_DSL_declValStruct___closed__2 = _init_l_Lake_DSL_declValStruct___closed__2();
lean_mark_persistent(l_Lake_DSL_declValStruct___closed__2);
l_Lake_DSL_declValStruct___closed__3 = _init_l_Lake_DSL_declValStruct___closed__3();
lean_mark_persistent(l_Lake_DSL_declValStruct___closed__3);
l_Lake_DSL_declValStruct___closed__4 = _init_l_Lake_DSL_declValStruct___closed__4();
lean_mark_persistent(l_Lake_DSL_declValStruct___closed__4);
l_Lake_DSL_declValStruct = _init_l_Lake_DSL_declValStruct();
lean_mark_persistent(l_Lake_DSL_declValStruct);
l_Lake_DSL_declValWhere___closed__0 = _init_l_Lake_DSL_declValWhere___closed__0();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__0);
l_Lake_DSL_declValWhere___closed__1 = _init_l_Lake_DSL_declValWhere___closed__1();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__1);
l_Lake_DSL_declValWhere___closed__2 = _init_l_Lake_DSL_declValWhere___closed__2();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__2);
l_Lake_DSL_declValWhere___closed__3 = _init_l_Lake_DSL_declValWhere___closed__3();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__3);
l_Lake_DSL_declValWhere___closed__4 = _init_l_Lake_DSL_declValWhere___closed__4();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__4);
l_Lake_DSL_declValWhere___closed__5 = _init_l_Lake_DSL_declValWhere___closed__5();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__5);
l_Lake_DSL_declValWhere___closed__6 = _init_l_Lake_DSL_declValWhere___closed__6();
lean_mark_persistent(l_Lake_DSL_declValWhere___closed__6);
l_Lake_DSL_declValWhere = _init_l_Lake_DSL_declValWhere();
lean_mark_persistent(l_Lake_DSL_declValWhere);
l_Lake_DSL_simpleDeclSig___closed__0 = _init_l_Lake_DSL_simpleDeclSig___closed__0();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__0);
l_Lake_DSL_simpleDeclSig___closed__1 = _init_l_Lake_DSL_simpleDeclSig___closed__1();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__1);
l_Lake_DSL_simpleDeclSig___closed__2 = _init_l_Lake_DSL_simpleDeclSig___closed__2();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__2);
l_Lake_DSL_simpleDeclSig___closed__3 = _init_l_Lake_DSL_simpleDeclSig___closed__3();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__3);
l_Lake_DSL_simpleDeclSig___closed__4 = _init_l_Lake_DSL_simpleDeclSig___closed__4();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__4);
l_Lake_DSL_simpleDeclSig___closed__5 = _init_l_Lake_DSL_simpleDeclSig___closed__5();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__5);
l_Lake_DSL_simpleDeclSig___closed__6 = _init_l_Lake_DSL_simpleDeclSig___closed__6();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__6);
l_Lake_DSL_simpleDeclSig___closed__7 = _init_l_Lake_DSL_simpleDeclSig___closed__7();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__7);
l_Lake_DSL_simpleDeclSig___closed__8 = _init_l_Lake_DSL_simpleDeclSig___closed__8();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__8);
l_Lake_DSL_simpleDeclSig___closed__9 = _init_l_Lake_DSL_simpleDeclSig___closed__9();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__9);
l_Lake_DSL_simpleDeclSig___closed__10 = _init_l_Lake_DSL_simpleDeclSig___closed__10();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__10);
l_Lake_DSL_simpleDeclSig___closed__11 = _init_l_Lake_DSL_simpleDeclSig___closed__11();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig___closed__11);
l_Lake_DSL_simpleDeclSig = _init_l_Lake_DSL_simpleDeclSig();
lean_mark_persistent(l_Lake_DSL_simpleDeclSig);
l_Lake_DSL_optConfig___closed__0 = _init_l_Lake_DSL_optConfig___closed__0();
lean_mark_persistent(l_Lake_DSL_optConfig___closed__0);
l_Lake_DSL_optConfig___closed__1 = _init_l_Lake_DSL_optConfig___closed__1();
lean_mark_persistent(l_Lake_DSL_optConfig___closed__1);
l_Lake_DSL_optConfig___closed__2 = _init_l_Lake_DSL_optConfig___closed__2();
lean_mark_persistent(l_Lake_DSL_optConfig___closed__2);
l_Lake_DSL_optConfig___closed__3 = _init_l_Lake_DSL_optConfig___closed__3();
lean_mark_persistent(l_Lake_DSL_optConfig___closed__3);
l_Lake_DSL_optConfig___closed__4 = _init_l_Lake_DSL_optConfig___closed__4();
lean_mark_persistent(l_Lake_DSL_optConfig___closed__4);
l_Lake_DSL_optConfig = _init_l_Lake_DSL_optConfig();
lean_mark_persistent(l_Lake_DSL_optConfig);
l_Lake_DSL_bracketedSimpleBinder___closed__0 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__0();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__0);
l_Lake_DSL_bracketedSimpleBinder___closed__1 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__1();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__1);
l_Lake_DSL_bracketedSimpleBinder___closed__2 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__2();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__2);
l_Lake_DSL_bracketedSimpleBinder___closed__3 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__3();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__3);
l_Lake_DSL_bracketedSimpleBinder___closed__4 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__4();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__4);
l_Lake_DSL_bracketedSimpleBinder___closed__5 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__5();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__5);
l_Lake_DSL_bracketedSimpleBinder___closed__6 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__6();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__6);
l_Lake_DSL_bracketedSimpleBinder___closed__7 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__7();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__7);
l_Lake_DSL_bracketedSimpleBinder___closed__8 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__8();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__8);
l_Lake_DSL_bracketedSimpleBinder___closed__9 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__9();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__9);
l_Lake_DSL_bracketedSimpleBinder___closed__10 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__10();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__10);
l_Lake_DSL_bracketedSimpleBinder___closed__11 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__11();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__11);
l_Lake_DSL_bracketedSimpleBinder___closed__12 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__12();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__12);
l_Lake_DSL_bracketedSimpleBinder___closed__13 = _init_l_Lake_DSL_bracketedSimpleBinder___closed__13();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder___closed__13);
l_Lake_DSL_bracketedSimpleBinder = _init_l_Lake_DSL_bracketedSimpleBinder();
lean_mark_persistent(l_Lake_DSL_bracketedSimpleBinder);
l_Lake_DSL_simpleBinder___closed__0 = _init_l_Lake_DSL_simpleBinder___closed__0();
lean_mark_persistent(l_Lake_DSL_simpleBinder___closed__0);
l_Lake_DSL_simpleBinder___closed__1 = _init_l_Lake_DSL_simpleBinder___closed__1();
lean_mark_persistent(l_Lake_DSL_simpleBinder___closed__1);
l_Lake_DSL_simpleBinder___closed__2 = _init_l_Lake_DSL_simpleBinder___closed__2();
lean_mark_persistent(l_Lake_DSL_simpleBinder___closed__2);
l_Lake_DSL_simpleBinder___closed__3 = _init_l_Lake_DSL_simpleBinder___closed__3();
lean_mark_persistent(l_Lake_DSL_simpleBinder___closed__3);
l_Lake_DSL_simpleBinder = _init_l_Lake_DSL_simpleBinder();
lean_mark_persistent(l_Lake_DSL_simpleBinder);
l_Lake_DSL_expandOptSimpleBinder___closed__0 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__0();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__0);
l_Lake_DSL_expandOptSimpleBinder___closed__1 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__1();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__1);
l_Lake_DSL_expandOptSimpleBinder___closed__2 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__2();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__2);
l_Lake_DSL_expandOptSimpleBinder___closed__3 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__3();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__3);
l_Lake_DSL_expandOptSimpleBinder___closed__4 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__4();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__4);
l_Lake_DSL_expandOptSimpleBinder___closed__5 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__5();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__5);
l_Lake_DSL_expandOptSimpleBinder___closed__6 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__6();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__6);
l_Lake_DSL_expandOptSimpleBinder___closed__7 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__7();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__7);
l_Lake_DSL_expandOptSimpleBinder___closed__8 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__8();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__8);
l_Lake_DSL_expandOptSimpleBinder___closed__9 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__9();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__9);
l_Lake_DSL_expandOptSimpleBinder___closed__10 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__10();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__10);
l_Lake_DSL_expandOptSimpleBinder___closed__11 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__11();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__11);
l_Lake_DSL_expandOptSimpleBinder___closed__12 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__12();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__12);
l_Lake_DSL_expandOptSimpleBinder___closed__13 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__13();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__13);
l_Lake_DSL_expandOptSimpleBinder___closed__14 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__14();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__14);
l_Lake_DSL_expandOptSimpleBinder___closed__15 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__15();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__15);
l_Lake_DSL_expandOptSimpleBinder___closed__16 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__16();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__16);
l_Lake_DSL_expandOptSimpleBinder___closed__17 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__17();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__17);
l_Lake_DSL_expandOptSimpleBinder___closed__18 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__18();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__18);
l_Lake_DSL_expandOptSimpleBinder___closed__19 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__19();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__19);
l_Lake_DSL_expandOptSimpleBinder___closed__20 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__20();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__20);
l_Lake_DSL_expandOptSimpleBinder___closed__21 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__21();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__21);
l_Lake_DSL_expandOptSimpleBinder___closed__22 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__22();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__22);
l_Lake_DSL_expandOptSimpleBinder___closed__23 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__23();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__23);
l_Lake_DSL_expandOptSimpleBinder___closed__24 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__24();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__24);
l_Lake_DSL_expandOptSimpleBinder___closed__25 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__25();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__25);
l_Lake_DSL_expandOptSimpleBinder___closed__26 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__26();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__26);
l_Lake_DSL_expandOptSimpleBinder___closed__27 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__27();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__27);
l_Lake_DSL_expandOptSimpleBinder___closed__28 = _init_l_Lake_DSL_expandOptSimpleBinder___closed__28();
lean_mark_persistent(l_Lake_DSL_expandOptSimpleBinder___closed__28);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__0);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__1);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__2);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__3);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__4);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1___redArg___closed__5);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__0);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__1);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__1_spec__2___closed__2);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__0);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__1);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__2);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__3);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__4);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__5);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__0_spec__0_spec__0___redArg___closed__6);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__0);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__1);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__2);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__3);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__4);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__5);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__6);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__7);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__8);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__9);
l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__12___redArg___closed__10);
l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0();
lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__0);
l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1();
lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__1);
l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2();
lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addCompletionInfo___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__6_spec__6___closed__2);
l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0 = _init_l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0();
lean_mark_persistent(l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___lam__0___closed__0);
l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0 = _init_l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0();
lean_mark_persistent(l_Lean_logAt___at___00Lean_logWarningAt___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__9_spec__9___closed__0);
l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0 = _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0();
lean_mark_persistent(l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__0);
l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1 = _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1();
lean_mark_persistent(l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__1);
l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2 = _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2();
lean_mark_persistent(l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__2);
l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3 = _init_l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3();
lean_mark_persistent(l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields___closed__3);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__0);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__1);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__2);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__3);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__4);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__5);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__6);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__7);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__8);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__9);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__10);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__11);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__12);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__13);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__14);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__15);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__16);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__17);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields_spec__11___closed__18);
l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__0);
l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1 = _init_l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1();
lean_mark_persistent(l_Lean_Elab_Term_mkFreshBinderName___at___00Lean_Elab_Term_mkFreshIdent___at___00Lake_DSL_mkConfigDeclIdent_spec__0_spec__0___closed__1);
l_Lake_DSL_elabConfig___closed__0 = _init_l_Lake_DSL_elabConfig___closed__0();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__0);
l_Lake_DSL_elabConfig___closed__1 = _init_l_Lake_DSL_elabConfig___closed__1();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__1);
l_Lake_DSL_elabConfig___closed__2 = _init_l_Lake_DSL_elabConfig___closed__2();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__2);
l_Lake_DSL_elabConfig___closed__3 = _init_l_Lake_DSL_elabConfig___closed__3();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__3);
l_Lake_DSL_elabConfig___closed__4 = _init_l_Lake_DSL_elabConfig___closed__4();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__4);
l_Lake_DSL_elabConfig___closed__5 = _init_l_Lake_DSL_elabConfig___closed__5();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__5);
l_Lake_DSL_elabConfig___closed__6 = _init_l_Lake_DSL_elabConfig___closed__6();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__6);
l_Lake_DSL_elabConfig___closed__7 = _init_l_Lake_DSL_elabConfig___closed__7();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__7);
l_Lake_DSL_elabConfig___closed__8 = _init_l_Lake_DSL_elabConfig___closed__8();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__8);
l_Lake_DSL_elabConfig___closed__9 = _init_l_Lake_DSL_elabConfig___closed__9();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__9);
l_Lake_DSL_elabConfig___closed__10 = _init_l_Lake_DSL_elabConfig___closed__10();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__10);
l_Lake_DSL_elabConfig___closed__11 = _init_l_Lake_DSL_elabConfig___closed__11();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__11);
l_Lake_DSL_elabConfig___closed__12 = _init_l_Lake_DSL_elabConfig___closed__12();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__12);
l_Lake_DSL_elabConfig___closed__13 = _init_l_Lake_DSL_elabConfig___closed__13();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__13);
l_Lake_DSL_elabConfig___closed__14 = _init_l_Lake_DSL_elabConfig___closed__14();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__14);
l_Lake_DSL_elabConfig___closed__15 = _init_l_Lake_DSL_elabConfig___closed__15();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__15);
l_Lake_DSL_elabConfig___closed__16 = _init_l_Lake_DSL_elabConfig___closed__16();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__16);
l_Lake_DSL_elabConfig___closed__17 = _init_l_Lake_DSL_elabConfig___closed__17();
lean_mark_persistent(l_Lake_DSL_elabConfig___closed__17);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
